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

From: Date: Thu, 15 Aug 2002 06:47:25 +0000
Subject: Re: errors while uploading my php site ...... ! ! ! !
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15274@lists.php.net to get a copy of this message
brian and Luis.... thnx a billion zillion guys ..... the problem turned out 2 b two .... 1st: as luis said version mismatch ... well i had php 4.2.1 on my machine n da host that i launched my site has 4.2.2 ven i upgraded mine to 4.2.2 it threw da same errors at me .... so .... i did pull all da session crap out ... but i cudnt put it in my styl.php so i put it on top of every file that i need it in right aftr <?PHP and YES it throws errors even at a single blank line before session_start(); thnx a million fellas ..... :D toby ..... --- Brian 'Bex' Huff <bex@stellent.com> wrote: > > 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 > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com

« previous php.windows (#15274) next »