Warning:Cannot modify header information - headers already sent by (output started at这个错误你是不是解决了?怎么解决的?

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/25 23:12:00
Warning:Cannot modify header information - headers already sent by (output started at这个错误你是不是解决了?怎么解决的?
x͑n@_evI$.(qDzb Ɩ=He!\* -)R!cCyΌǫB+nU̹ߜ_12{$y )*Yr*Ϊ&ȡn0tqB8o­,P_BzE,MfrqJFl#_nyyYWm6="1D}3ox&!T(ߚx[&~c脂prd[T}E9Zoiz<߼ #;6x\8ul~!R"DoƦec3cWcT*ʨ}Ѯ'IG^0̓ :+,>8fiFŬuNRT..ATڢ_MroI(i$<=~{D@p<"23'Vp8k?

Warning:Cannot modify header information - headers already sent by (output started at这个错误你是不是解决了?怎么解决的?
Warning:Cannot modify header information - headers already sent by (output started at
这个错误你是不是解决了?怎么解决的?

Warning:Cannot modify header information - headers already sent by (output started at这个错误你是不是解决了?怎么解决的?
出这个错误是因为 header('Content-Type:text/html;charset= UTF-8');发送头之前不能有任何输出,空格也不行,你需要将header(...)之前的空格去掉,或者其他输出的东西去掉,如果他上面include其他文件了,你还要检查其他文件里是否有输出

Warning: Cannot modify header information - headers already sent by (不然你header之前就打印了内容,这肯定报错。建议你看下header用法 看