RE: [PHP-WIN] "Headers already sent" error message
| From: | Richard Black | Date: | Thu, 22 Aug 2002 16:18:06 +0000 |
| Subject: | RE: [PHP-WIN] "Headers already sent" error message | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15452@lists.php.net to get a copy of this message | ||
Any output before the header() call will cause this message.
I would guess that the logic checks are outputting something?
HTH,
Richy
==========================================
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: rblack@datavisibility.co.uk
-----Original Message-----
From: R.S. Herhuth [mailto:ronherhuth@pop.mindspring.com]
Sent: 22 August 2002 17:15
To: php-windows@lists.php.net
Subject: [PHP-WIN] "Headers already sent" error message
I'm having a bit of trouble understanding why I'm getting a "Cannot add
header information; Headers already sent" error message. I have several
pages where I'm using the headers with no problems...but this single
page I keep getting the error. The only real difference is that this
page has a bunch of logic checks before it calls the header command.
What is the cause of this error? what sort of things should I check
for?
I'm lost,
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php