Change filename on upload
View Single Post
05-29-2008, 04:04 PM
Join Date: Oct 2007
Location: Newcastle, UK
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:
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
View Public Profile
Send a private message to Jmz
Visit Jmz's homepage!
Find More Posts by Jmz