Re: Re: Double warnings with session_start

From: Date: Wed, 25 Jun 2003 14:28:29 +0000
Subject: Re: Re: Double warnings with session_start
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-2787@lists.php.net to get a copy of this message
Oops! <michel@ziobudda.net> wrote in message news:Pine.LNX.4.44.0306251556400.17140-100000@main.ziobudda.net... > On Wed, 25 Jun 2003, Justin Hannus wrote: > > > 1 > > 2 <?php > > 3 session_start(); > > 4 ?> > > 5 session inizializzata > > > > It appears that line 1. has the "output" that forces the headers sent, in > > this case, just a newline. Anything outside the <?php ?> tags are treated as > > STDOUT forcing the php module to send the headers before you start your > > session. Try moving your <?php up to the first lline. e.g. > > I need that line. I need to write the error for an example!. > > bye > > -- > Morelli Michel > ZioBudda.net Coordinator > michel@ziobudda.net > >

« previous php.internals (#2787) next »