note 114145 added to function.readfile

From: Date: Thu, 16 Jan 2014 12:10:13 +0000
Subject: note 114145 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-198249@lists.php.net to get a copy of this message
I see this type of comment everywhere "this isn't the problem but it also wouldn't hurt to remove the Content-Transfer-Encoding header field. It doesn't exist in HTTP.". My question is if "Content-Transfer-Encoding" is really unnecessary, why does this is included in the above example from PHP Group? Because of this example usage, we could find the same kind of script being written again and again everywhere. Is there something wrong in this use? ---- Server IP: 72.55.140.6 Probable Submitter: 59.92.1.14 ---- Manual Page -- http://php.net/manual/en/function.readfile.php Edit -- https://master.php.net/note/edit/114145 Del: integrated -- https://master.php.net/note/delete/114145/integrated Del: useless -- https://master.php.net/note/delete/114145/useless Del: bad code -- https://master.php.net/note/delete/114145/bad+code Del: spam -- https://master.php.net/note/delete/114145/spam Del: non-english -- https://master.php.net/note/delete/114145/non-english Del: in docs -- https://master.php.net/note/delete/114145/in+docs Del: other reasons-- https://master.php.net/note/delete/114145 Reject -- https://master.php.net/note/reject/114145 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198249) next »