note 102862 deleted from function.header by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 Mar 2011 19:19:08 +0000 |
| Subject: | note 102862 deleted from function.header by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177777@lists.php.net to get a copy of this message | ||
Note Submitter: fujilives at yahoo dot com
----
@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.