$_FILES array empty from form submited in IE8

abashette

New Member
I am trying to create an upload script and am having issues with IE8 and older. (of course ;) ) In all other browsers it works fine but in IE8 the $_FILES array is empty. This is the html code being used:\[code\]<FORM method=post action=api/upload.php target=form8230839> <INPUT name=file type=file> <INPUT value="http://stackoverflow.com/questions/12809514/Submit Query" type=submit> <INPUT name=id value=http://stackoverflow.com/questions/12809514/id66130748349062623150808191 type=hidden></FORM><IFRAME id=form8230839 name=form8230839></IFRAME> \[/code\](note the code is being generated by javascript createElement so IE8 is writing it out with the caps and lack of quotes around attributes.)Then in the php file I am doing:\[code\]print_r($_FILES);\[/code\]which returns as just an empty array? Any help would be great. Thanks!
 
Back
Top