“Unknown” PHP error - what is that supposed to mean? [duplicate]

為{幸葍}努か 提交于 2020-01-03 16:54:44

问题


Possible Duplicate:
How to fix “Headers already sent” error in PHP

[Mon Jan 10 21:01:26 2011] [error] [client xx.xx.xxx.xx] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: www.example.com/some.php

Why PHP is not able to locate where the headers were sent from?


回答1:


See if you have a space after <?. The header function is quite sensitive and doesnt work if anything is outputted before hand.



来源:https://stackoverflow.com/questions/4651548/unknown-php-error-what-is-that-supposed-to-mean

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!