How to solve the Warning Cannot Modify Header Information?

電腦問題求助 有問必答 手提電腦, 電腦問答, 電腦維修及修理, computer, software, hardware, network, tips and more.
回覆文章

phpguys
文章: 2
註冊時間: 2013-01-07, 13:41

How to solve the Warning Cannot Modify Header Information?

文章 phpguys » 2013-01-07, 13:54

"Warning: Cannot modify header information - headers already sent by (output started at /home..."

Make sure there is no empty spaces before <?php or after ?> in the php files.

The error was consistent until I removed BOM formatting.

You can easy do it with Notepad++ on Encoding menu choose encode Utf8 without BOM and save.

分享按钮新浪微博 | 微信 | QQ空间 | 腾讯微博 | Facebook | 推荐

回覆文章

回到「電腦資訊 電腦技術 有問必答 Computer Tech, Software, Hardware, Q&A」