2012-12-15

php Warning: Cannot add header information - headers already sent by

php 程式出現 「Warning: Cannot add header information - headers already sent by」時

把 php.ini ==> 設成 output_buffering = On  就可以了

最近安裝在 Win Server 2003 PHP4 跟 PHP5 共存 使用 Apache2 出現這問題,
在WIN7、WIN8專業版 不會有此問題。

沒有留言: