allowing selected file types
| From: | Sebastian | Date: | Sat, 30 Jul 2005 16:38:48 +0000 |
| Subject: | allowing selected file types | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219677@lists.php.net to get a copy of this message | ||
i know i shouldn't rely on mime types for file verification but anyways..
I use application/zip which works fine on firefox and only allows zips.. however, on Internet explorer it doesn't work since IE returns application/x-zip-compressed for zips.. problem with this is it also allow rar files.. so even checking mime types is just as useless as not using it.. one mime type allows two different file types. pffft.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005