Trouble with recocnizing jpeg files. Some work, some do not
| From: | andy | Date: | Sun, 19 May 2002 14:16:05 +0000 |
| Subject: | Trouble with recocnizing jpeg files. Some work, some do not | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98363@lists.php.net to get a copy of this message | ||
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