View Single Post
Old 05-29-2008, 04:04 PM   #8 (permalink)
Jmz
The Acquainted
 
Join Date: Oct 2007
Location: Newcastle, UK
Posts: 113
Thanks: 3
Jmz is on a distinguished road
Default

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)
__________________
Free CSS Tutorials
Send a message via MSN to Jmz
Jmz is offline  
Reply With Quote