I have cobbled together some scripts from various internet sources to get a form working. I have run into an issue that I can't solve. The form I created allows the user to submit their data in fields, plus an image attachment (validation: .EPS or .JPG format).
The script works fine in Firefox and Safari, but not in Internet Explorer. In IE, whether or not you attach an image of the correct type, it returns the error for incorrect file type. So for some reason it seems IE is not validating the file type as the PHP is asking it to do.
<?php
/* ....
snip
.... */
$filetype=$_FILES["prosp_client_logo"]["type"];
/* ....
snip
.... */
elseif($filetype=="application/postscript" or $filetype=="image/jpg" or $filetype=="image/jpeg") {
/* ....
snip
.... */
?>
Please let me know if you need any clarification.