note 34052 added to function.header
| From: | Nils Knappmeier | Date: | Mon, 14 Jul 2003 23:50:46 +0000 |
| Subject: | note 34052 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52110@lists.php.net to get a copy of this message | ||
When you include a .php file before the "header" command, be sure that this file does not
contain any non-php lines (they might be blank).
If it does, the non-php will be treated like output. Since this output happens before the
"header" command, you will get an error message like that:
Cannot add header information - headers already sent by (output started at
/home/nknapp/public_html/functions.php:55) in /home/nknapp/public_html/edit.php on line 12
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34052
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34052&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34052&report=yes