What about mime_content_type()... see what that returns. Nate
-----Original Message----- From: Karthik [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 12:35 AM To: [EMAIL PROTECTED] Subject: [PHP] Detecting image types for uploaded images Hi, How do I differentiate between progressive and standard jpegs for files "already" on the server ? getimagesize does return a mime type, but doesn't seem to differentiate between image/jpeg and image/pjpeg and returns image/jpeg for all jpeg images. Any ideas? Thanks -K -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php