Quickform: file upload will not accept *.jpg file despite array('image/jpeg', 'image/jpg', 'image/gif')
| From: | l Burnerheimerton | Date: | Thu, 13 Jan 2005 20:18:03 +0000 |
| Subject: | Quickform: file upload will not accept *.jpg file despite array('image/jpeg', 'image/jpg', 'image/gif') | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16920@lists.php.net to get a copy of this message | ||
I have the following entry included in a file upload:
$form->addRule('fileN', jpeg or gif are aceptable
format', 'mimetype', array('image/jpeg', 'image/jpg',
'image/gif') );
Adding a *.gif file works fine but NOT *.jpg.
And ideas?
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo