note 102862 added to function.header
| From: | fujilives at yahoo dot com | Date: | Thu, 10 Mar 2011 19:18:33 +0000 |
| Subject: | note 102862 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177776@lists.php.net to get a copy of this message | ||
@aaron
Your changes to the script are nice, but I found it's easier to allow only what I want, instead
of trying to keep track of every extension I "don't want".
I changed case "", case NULL, and default: to all die.
That way only extensions I specifically allow in the case array are used.
----
Server IP: 69.147.83.197
Probable Submitter: 205.196.145.2
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/102862
Del: integrated -- https://master.php.net/note/delete/102862/integrated
Del: useless -- https://master.php.net/note/delete/102862/useless
Del: bad code -- https://master.php.net/note/delete/102862/bad+code
Del: spam -- https://master.php.net/note/delete/102862/spam
Del: non-english -- https://master.php.net/note/delete/102862/non-english
Del: in docs -- https://master.php.net/note/delete/102862/in+docs
Del: other reasons-- https://master.php.net/note/delete/102862
Reject -- https://master.php.net/note/reject/102862
Search -- https://master.php.net/manage/user-notes.php