PHP Error: cannot modify header information headers already sent

Text editors sometimes insert a UTF-8 byte order mark at the top of a file. In this case, the error message will usually say that "output started" at line 1 of some file. To fix this, configure your text editor to save the file without a byte order mark.

For example, in Macromedia Dreamweaver go to
Modify > Page Properties > Title/Encoding and uncheck Include Unicode Signature

No comments:

Post a Comment