码迷,mamicode.com
首页 > 其他好文 > 详细

关于报错:Warning: Cannot modify header information - headers already sent by (output started at

时间:2014-08-05 22:15:40      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   for   2014   art   问题   ar   

8月5日,第一个项目即将完成,测试时,发现登录功能会出现小问题:记住密码的时候会报错

Warning: Cannot modify header information - headers already sent by (output started at

经过再三在百度上查询,终于查到错误的关键原因:[setcookie之前不可以有html标签内容]。导致出现这种错误的方式有很多种,但惟独这种解释最让我理解。

bubuko.com,布布扣

 

(因为百度知道的内容不可以复制了,只能贴出地址,有详细解释)地址【http://zhidao.baidu.com/question/174202379.html

关于报错:Warning: Cannot modify header information - headers already sent by (output started at,布布扣,bubuko.com

关于报错:Warning: Cannot modify header information - headers already sent by (output started at

标签:blog   http   io   for   2014   art   问题   ar   

原文地址:http://www.cnblogs.com/ishenghuo/p/3893120.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!