RE: [PHP] Apache, html, php and global variables
| From: | John Holmes | Date: | Sun, 02 Jun 2002 06:18:30 +0000 |
| Subject: | RE: [PHP] Apache, html, php and global variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100291@lists.php.net to get a copy of this message | ||
Thanks, well said.
John
> -----Original Message-----
> From: Jason Wong [mailto:php-general@gremlins.com.hk]
> Sent: Sunday, June 02, 2002 2:10 AM
> To: php-general@lists.php.net
> 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