I guess you could check the $userfile_type for the correct type.
"John Ngo" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > basically i've got a file upload script (that works) > > what i want to do now is restrict it to filetypes of 'image/jpeg' > however now i can't upload jpegs cause their filetype appears to be > 'image/pjpeg' > > does anyone know of what could be happening here? > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php