HTML5 input file type with multiple attributes not working in IE?

I want to create a multilingual uploder using HTML5 and PHP5. I do not want to use a flash player for support. Flash downloader does not support iphone. I created a form like this

<form name="uploader" method="post" action="" enctype="multipart/form-data"> <input type="file" name="images[]" id="images" multiple="multiple" /> <input type="submit" name="button" value="Submit" /> </form> 

It works with chrome, mozilla, opera, safari ... but IE does not support this.

I tried with IE8 and IE9 which do not support. How can i fix this? Anyone who knows the solution, kindly help me.

+6
source share
4 answers

IE8 does not support HTML5. Does IE9 work in compatibility mode? Press F12 to open the developer tools, and in the top menu you can change the settings in the mode in which it is located.

Perhaps this solution is to use the Java or Flash system for multiple downloads. In addition, they also usually support dragging and dropping files.

+9
source

Few things:

  • IE does not support downloading multiple files.
  • Flash is currently a way around this, or just abandon single downloads in IE
  • iPad does not support Flash, but also does not support downloading files.
  • Using IE is much higher than iOS

So, the logical conclusion:

  • Use multiple downloads in new browsers and one in older ones - IE users will not notice, since they could never download multiple files!

  • Use Flash as a backup in older browsers

(Update: iOS6 now allows you to upload files, including multiple downloads)

+19
source

IE9 does not support multiple file downloads or file APIs, according to this source . Here is another thread on SO asking the same question with the same answer. According to Craig, at the moment, it is best to use Flash as a replacement in IE and older browsers; such a solution is used by Dojo 1.6 .

+4
source

Source: https://habr.com/ru/post/887999/


All Articles