Re: Re: session open failed and header() don't redirect

From: Date: Wed, 10 Oct 2001 17:00:27 +0000
Subject: Re: Re: session open failed and header() don't redirect
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-9788@lists.php.net to get a copy of this message
At 09:21 AM 10/10/2001 +0200, Michel Laine wrote: >"Warning: Cannot add header information - headers already sent by (output >started at c:\program files\apache group\apache\htdocs\web1\1.php:2) in >c:\program files\apache group\apache\htdocs\web1\1.php on line 6" > >Seems to me that you have some HTML output (probably in the .INC file) and then >try to send a HEADER. >The Header *must* be the first thing you output, othervise you get the "header >already sent" error. The existing HTML output is the first error message about the session problem :). Clear the session problem and you won't get the "headers already sent" error. The session problem, like you said, is either due to the folder set for session data not existing, or having some problem with forward/back slashes being switched. -Mike

« previous php.windows (#9788) next »