jasonc Posted March 20, 2009 Share Posted March 20, 2009 I have tried to select a file using forms, file select but the popup box does not show in IE only FireFox has anyone had this and know of a fix to have it show in IE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#000000"> <table width="100%"> <tr> <td width="1" valign="top" bgcolor="#CCCCCC"></td> <td width="100%" valign="top"><form action="" method="POST" enctype="multipart/form-data"> No file uploaded <input type="file" name="imgfile"> <input type="hidden" name="MAX_FILE_SIZE" value="40000"> <input name="submit" type="submit" value="Upload"> </form></td> </tr> </table> </body> </html> Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted March 20, 2009 Share Posted March 20, 2009 should be fine - don't trust the maxfile thing in html though - always check file size on upload. Quote Link to comment Share on other sites More sharing options...
jasonc Posted March 20, 2009 Author Share Posted March 20, 2009 this only works on FireFox and the popup file select box shows ok. but in Internet Explorer the popup does not show at all. Quote Link to comment Share on other sites More sharing options...
jasonc Posted March 21, 2009 Author Share Posted March 21, 2009 sorry forgot to say, my friend who reported this has got Vista. Quote Link to comment Share on other sites More sharing options...
jasonc Posted March 30, 2009 Author Share Posted March 30, 2009 sorry for the bump... thought i'd leave it for a while but no one has come back yet. has anyone had this using VISTA ? and FireFox 3.0 + Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 30, 2009 Share Posted March 30, 2009 The file input tag is OS/Browser independent. I am using Vista and your HTML works fine for me. It could be an IE security setting or their Anit-Virus/malware software causing issues. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted March 30, 2009 Share Posted March 30, 2009 Your choice of colors is probably preventing the box from being seen. Start with just a basic form, no styling. Quote Link to comment Share on other sites More sharing options...
pudge1 Posted March 30, 2009 Share Posted March 30, 2009 Correct me if I am wrong but I think you are using the wrong enctype="" that isn't what I use at least. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted March 30, 2009 Share Posted March 30, 2009 The posted form code is valid and uploads a file correctly in both IE7 and the latest FF on a Win XP system. Quote Link to comment Share on other sites More sharing options...
haku Posted March 31, 2009 Share Posted March 31, 2009 That enctype is necessary for forms that take in uploaded data. Quote Link to comment Share on other sites More sharing options...
pudge1 Posted March 31, 2009 Share Posted March 31, 2009 I know but I use a different value for it. Quote Link to comment Share on other sites More sharing options...
jasonc Posted March 31, 2009 Author Share Posted March 31, 2009 yes all works ok on Windows XP, and all OS using Fire Fox i am having issues with VISTA and these visitors using IE Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.