Re: Re: session error ... I think
| From: | Alexander Ross | Date: | Thu, 11 Jul 2002 17:44:56 +0000 |
| Subject: | Re: Re: session error ... I think | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107193@lists.php.net to get a copy of this message | ||
ok ... but the line of code that was the culprit was simply:
print "var id = ".$id."<br>"; //for debugging
how does that line constitute sending more header info?
Alex
"Chris Hewitt" <g0pae@manordat.demon.co.uk> wrote in message
news:3D2DC323.1010507@manordat.demon.co.uk...
> Alexander Ross wrote:
>
> >I'm slowly beginning to undrestand this, but please bear with a php
novice.
> >When/how were the headers sent? In other words, how do I know that they
> >have already been sent?
> >
> Because something other than a header has gone out. As something other
> has gone out, it is not possible to send more headers. Thus headers that
> were to be sent must have already been sent. I interpret this error
> message as "Something other than headers has already been sent so you
> cannot send headers now.", (but then I have been known to be wrong).
>
> HTH
> Chris
>