Re: Cannot add header information...
| From: | Avi Schwartz | Date: | Thu, 22 Nov 2001 14:10:52 +0000 |
| Subject: | Re: Cannot add header information... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75509@lists.php.net to get a copy of this message | ||
Headers have to be sent before anything else is sent to the browser.
Even once space appearing before the php openning tag will cause this
error! Try to send the headers first thing in your code before any html
code.
Avi
Per Waagen wrote:
> Warning: Cannot add header information - headers already sent by (output
> started at /home/p/pe/perphp/public_html/login.php:4) in
> /home/p/pe/perphp/public_html/login.php on line 44
--
Avi Schwartz
avi@CFFtechnologies.com
"I have to share the credit. I invented it, but Bill made it
famous." - IBM engineer Dave Bradley describing the
control-alt-delete reboot sequence