Warning: Cannot modify header information - headers already sent by

Warning: Cannot modify header information - headers already sent by

Warning: Cannot modify header information - headers already sent by

若發生上述的警告訊息該如何處理?

可以到C:\Windows

找到php.ini檔案,

將檔案開啟之後使用尋找找到

output_buffering = Off

將上面的Off修改為On或其他需要的數值,

output_buffering = On

然後再重新啟動Appserv即可進行測試。

 

 

參考或是複製語法時,別忘了留個言喔 ^ ^ ~