RE: [PHP-WIN] "Headers already sent" error message
| From: | Ross Fleming | Date: | Thu, 22 Aug 2002 16:22:51 +0000 |
| Subject: | RE: [PHP-WIN] "Headers already sent" error message | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15454@lists.php.net to get a copy of this message | ||
Or possibly there is a blank line or so before the opening <?PHP This too
will generate an error
> -----Original Message-----
> From: Richard Black [mailto:rblack@datavisibility.co.uk]
> Sent: 22 August 2002 17:18
> To: ronherhuth@mindspring.com; php-windows@lists.php.net
> Subject: RE: [PHP-WIN] "Headers already sent" error 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
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>