I am having a hard time with my image upload script, getting the images to upload in Internet Explorer. I have been searching Google for a solution and adding the "image/pjpeg" mime type seemed to work for everyone, but I have added it to my code and still cannot get it to work.
Here is what I have:
$acceptedExts = array ('jpg','jpeg');
if ( in_array($ext,$acceptedExts)
&& ( $_FILES["uploaded_file"]["type"] == "image/pjpeg"
|| $_FILES["uploaded_file"]["type"] == "image/jpeg")
&& ($_FILES["uploaded_file"]["size"] < 16000000)) {
Am I doing anything wrong?
Thanks!