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
You might want to read up on this:
http://en.wikipedia.org/wiki/Magic_number_%28programming%29
On 7/30/05, Sebastian [EMAIL PROTECTED] wrote:
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..
2 matches
Mail list logo