Re: errors while uploading my php site ...... ! ! ! !

From: Date: Wed, 14 Aug 2002 16:21:41 +0000
Subject: Re: errors while uploading my php site ...... ! ! ! !
Groups: php.windows 
Request: Send a blank email to php-windows+get-15252@lists.php.net to get a copy of this message
The only reason why you'd be getting those session and header error messages is if you output some html (even a few blank lines) on your PHP page before the cookie functions are called. It looks like you have a wrapper PHP page called 'styl.php', in which you reference an include 'lgn3.php', where you set some header stuff. This is probably not working becuse 'styl.php' is setting some stylesheets, or outputting some html before it references 'lgn3.php'. If that is the case, it just wont work. I'd consider pulling out all your header/session/cookie crap out of 'lgn3.php', and into a seperate page, and then including it at the ABSOLUTE top of 'styl.php'. Check out the documentation on the 'header' function for more info... -- Brian 'Bex' Huff bex@stellent.com Phone: 952-903-2023 Fax: 952-829-5424

« previous php.windows (#15252) next »