Headers already sent (Sometimes)
| From: | Jacob Dorman | Date: | Mon, 22 Jul 2002 21:17:18 +0000 |
| Subject: | Headers already sent (Sometimes) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109068@lists.php.net to get a copy of this message | ||
Im getting Warnings about headers being already sent. But not on my local
web server
Im sending the headers (to try and make the page not cache) before anything
is echoed to the browser.
I set the error reporting to E_ALL at the top of the script, turning error
reporting off suppresses the warnings.
local server
Win XP(Windows NT 5.1 build 2600), Apache/2.0.39, PHP 4.2.1 running as a
module using a patched Apache 2.0 Filter
other server:
Linux, Apache/1.3.24, PHP 4.1.2
with my local server there are no errors (even on E_ALL). I can also send a
refresh header after html output.
thanks in advance,
Jake