if (is_uploaded_file($_FILES["imagefile"]["tmp_name"]) &&
($_FILES["imagefile"]["type"] != "image/jpeg" &&
$_FILES["imagefile"]["type"] != "image/gif" && $_FILES["imagefile"]["type"]
!= "image/jpg" && $_FILES["imagefile"]["type"] != "image/png"))
I'm trying to weed out everything that isn't a .jpg, .gif, or .png. What's
wrong with this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP] What is wrong with this expression? JohnMeyer
- Re: [PHP] What is wrong with this expression? Marek Kilimajer
- Re: [PHP] What is wrong with this expression? DL Neil