Date: 07/29/02
- Next message: Martin Clifford: "Re: [PHP] Help Please"
- Previous message: Philip Hallstrom: "[PHP] Re: ORDER BY from 2 tables"
- In reply to: Varsha Agarwal: "[PHP] Help Please"
- Next in thread: Chris Boget: "[PHP] PHP5?"
- Reply: Chris Boget: "[PHP] PHP5?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Hi,
> I am trying to run a sample program. It connects to a
> postgres database verifies user name and password and
> if correct, displays the login screen.
> But in that program wherever there there are
> setcookies() or header() functions, I get following
> error
>
> Warning: Cannot add header information - headers
> already sent by (output started at
> var/www/html/processing.php:5) in
> /var/www/html/common.php on line 63
Read the error message. Output started at var/www/html/processing.php:5.
that means line 5 of that file output something to the browser, after which,
you cannot send any cookies or headers.
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Martin Clifford: "Re: [PHP] Help Please"
- Previous message: Philip Hallstrom: "[PHP] Re: ORDER BY from 2 tables"
- In reply to: Varsha Agarwal: "[PHP] Help Please"
- Next in thread: Chris Boget: "[PHP] PHP5?"
- Reply: Chris Boget: "[PHP] PHP5?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

