I'm wondering if there is any sure way for PHP to determine whether an
uploaded file is definitely an image file.

I have a script that checks for size and mime type ('image/png' or
'image/jpeg'). The script works fine, but I've heard that it is possible
to add those mime type headers to files that aren't images at all, and
possibly something mailicious.

Mick


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to