Hi there, I do have trouble with finding out if a file is a jpeg or not. This is the command I am using:
$_FILES[picture_location][type] works fine exept in one case: With Photoshop 6.0 I do open the jpeg (which workes fine) an save as jpeg as another file name. Then upload the new file. This returns a type called: application/octet-stream So what is this type anyway. I do know jpeg and jpg and pjpeg but octed-stream?! Thanx for any help on that, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php