note 95864 added to function.header
| From: | this dot person at joaocunha dot eti dot br | Date: | Tue, 26 Jan 2010 18:39:00 +0000 |
| Subject: | note 95864 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165327@lists.php.net to get a copy of this message | ||
AVOID ZERO BYTE ORDER MARK!
Header MUST be sent before EVERYTHING in the page. Even a single space will break your script. In my
case, there was BOM setted in the encoding, so I opened the file with notepad++ and set the encoding
to UTF-8 (no BOM) and voila, everything is working great now.
----
Server IP: 69.147.83.197
Probable Submitter: 200.232.165.39
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/95864
Del: integrated -- https://master.php.net/note/delete/95864/integrated
Del: useless -- https://master.php.net/note/delete/95864/useless
Del: bad code -- https://master.php.net/note/delete/95864/bad+code
Del: spam -- https://master.php.net/note/delete/95864/spam
Del: non-english -- https://master.php.net/note/delete/95864/non-english
Del: in docs -- https://master.php.net/note/delete/95864/in+docs
Del: other reasons-- https://master.php.net/note/delete/95864
Reject -- https://master.php.net/note/reject/95864
Search -- https://master.php.net/manage/user-notes.php