Newbie question about how to detect mime/type
| From: | MRossland | Date: | Tue, 06 Mar 2001 20:07:04 +0000 |
| Subject: | Newbie question about how to detect mime/type | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42798@lists.php.net to get a copy of this message | ||
Hi all, I was wondering how I could detect if a file is an image (jpg or gif
or png) file? Im running this on an NT box, but I dont want to rely on the
file extension.
Is there a way?
Thanks for any help,
--Mark