Hey all,
can any fo you see what is wrong with this:
if ($HTTP_POST_FILES[$photo]['type'] != 'image/pjpeg' or 'image/gif' ) { print "<script> alert('$test') </script>"; $error="One or more of your image types were unsupported"; }
Its something to do with the " 'image/pjpeg' or 'image/gif' " bit.
Thanks in Advance!