note 105778 added to function.fpassthru

From: Date: Wed, 14 Sep 2011 09:36:15 +0000
Subject: note 105778 added to function.fpassthru
Groups: php.notes 
Request: Send a blank email to php-notes+get-183165@lists.php.net to get a copy of this message
If downloaded files get corrupted after download, the reason may be that this is due to a BOM header on your PHP file or the one it includes or requires. Like mikek at muonics dot nospam dot c dot o already said we should not have white spaces around <?php and ?> tags. But BOM headers are white spaces that are not even displayed by a text editor. In my case the BOM (3 bytes) got sent to the client but HTTP headers were not sent for some reason, so that my own header(...) statements did work, the resulting file just had these additional 3 BOM bytes at the beginning. ---- Server IP: 212.124.37.9 Probable Submitter: 85.214.208.203 ---- Manual Page -- http://www.php.net/manual/en/function.fpassthru.php Edit -- https://master.php.net/note/edit/105778 Del: integrated -- https://master.php.net/note/delete/105778/integrated Del: useless -- https://master.php.net/note/delete/105778/useless Del: bad code -- https://master.php.net/note/delete/105778/bad+code Del: spam -- https://master.php.net/note/delete/105778/spam Del: non-english -- https://master.php.net/note/delete/105778/non-english Del: in docs -- https://master.php.net/note/delete/105778/in+docs Del: other reasons-- https://master.php.net/note/delete/105778 Reject -- https://master.php.net/note/reject/105778 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183165) next »