05-29-2008, 04:04 PM
|
#8 (permalink)
|
|
The Acquainted
Join Date: Oct 2007
Location: Newcastle, UK
Posts: 113
Thanks: 3
|
How important is checking mime types?
For some reason some of the images I try to upload dont have mime types according to my script.
I also read this on the php.net site:
Quote:
|
The mime type of the file, if the browser provided this information. An example would be "image/gif". This mime type is however not checked on the PHP side and therefore don't take its value for granted.
|
(link to quote: PHP: Handling file uploads - Manual)
|
|
|