Re: Apache, html, php and global variables

From: Date: Sun, 02 Jun 2002 06:10:27 +0000
Subject: Re: Apache, html, php and global variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100290@lists.php.net to get a copy of this message
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!! */

« previous php.general (#100290) next »