> 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

Reply via email to