Thanks, well said. John
> -----Original Message----- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Sunday, June 02, 2002 2:10 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Apache, html, php and global variables > > On Sunday 02 June 2002 13:31, John Holmes wrote: > > Did you read my reply at all? Call session_start() before any output to > > the browser. > > > > The errors I get are: > > > Warning: Cannot send session cookie - headers already sent by (output > > > started at c:\usr\www\my-domain\databaselogin.php:3) in > > > c:\usr\www\my-domain\databaselogin.php on line 4 > > > > > > Warning: Cannot send session cache limiter - headers already sent > > Also searching the list archives for "headers already sent" would (should) > result in umpteen billions of hits with the solution. > > If you're intelligent enough to be writing a website then you should be > intelligent enough to use a search engine. > > Heck, google -> "headers already sent" brings up the answer straight away. > > So to all those lazy people out there, use your loaf and not someone > else's. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > INSIDE, I have the same personality disorder as LUCY RICARDO!! > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php