Chrisj Posted May 21, 2015 Share Posted May 21, 2015 In Chrome, and IE8, when this link is selected: <a href="../upload/[blk1.thumbnail]"><form action="../upload/[blk1.thumbnail]"><input type="image" src="../images/MI.png"></form></a> the file appears successfully. In IE10 and IE9, instead of the file appearing successfully, a dialog box appears asking "Do you want to open or save (the file name) from www...com? OPEN SAVE CANCEL In FF it says "You have chosen to open (the file name) which is application/ocet-stream from www...com OPEN SAVE CANCEL What can I add (or change) so that the file appears, upon selecting the link, in IE10, IE9 and FF? instead of a dialog box appearing? Quote Link to comment https://forums.phpfreaks.com/topic/296438-chrome-shows-file-ie10-shows-dialog-box/ Share on other sites More sharing options...
fastsol Posted May 22, 2015 Share Posted May 22, 2015 Why in the world are you wrapping a form in a <a>? That is certainly not how it works. Are you trying to display an image when you click? You haven't really given us a clear understanding of what you are trying to do and what kind of file it's supposed to serve. Quote Link to comment https://forums.phpfreaks.com/topic/296438-chrome-shows-file-ie10-shows-dialog-box/#findComment-1512437 Share on other sites More sharing options...
Chrisj Posted May 22, 2015 Author Share Posted May 22, 2015 Thanks for your reply. Resolved Quote Link to comment https://forums.phpfreaks.com/topic/296438-chrome-shows-file-ie10-shows-dialog-box/#findComment-1512451 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.