您的位置:首页 > 编程语言 > PHP开发

PHP warning Cannot modify header information - headers already sent by (output started at...

2015-11-24 14:30 751 查看
PHP warning Cannot modify header information - headers already sent by (output started at...

出现这种错误一般是在发送header之前有输出内容


有echo,print, <?php之前有空格,文件为UTF-8 BOM类型之类的。。。

可参看

http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: