Restricting mime type in file uploads?
| From: | Dave Carrera | Date: | Wed, 07 Aug 2002 07:19:56 +0000 |
| Subject: | Restricting mime type in file uploads? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21034@lists.php.net to get a copy of this message | ||
Hi All
I have a working ap to allow clients to upload their images to a server
& then I write the path to a MySql db for retrieval later.
But I have been asked if we can control the mime type to only accept
JPG's and nothing else.
I can't seem to find the answer anywhere so I humbly ask for your help
or guidance.
Thank you in advance
Dave C