問題描述
我想使用 HTML5 和 PHP5 創(chuàng)建一個多文件上傳器.我不想使用任何 Flash 播放器來支持.iPhone 不支持 Flash 上傳器.我創(chuàng)建了這樣的表單
I want to create a multi file uploder using HTML5 and PHP5. I don't want to use any flash player for support. Flash uploader will not support in iphone. I created the 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>
它適用于 chrome、mozilla、opera、safari……但 IE 不支持.
It is working with chrome, mozilla, opera, safari... but IE not supporting this.
我試過 IE8 和 IE9 都不支持.我怎樣才能解決這個問題?哪位知道解決辦法的請幫幫我.
I tried with IE8 and IE9 both are not supporting. How can I fix this? Anybody who knows the solution please kindly help me.
推薦答案
IE8 不支持 HTML5.也許 IE9 正在以兼容模式運行?按 F12 調出開發(fā)者工具,在頂部菜單中您可以更改其所處模式的設置.
IE8 does not support HTML5. Perhaps IE9 is running in compatibility mode? Press F12 to bring up the developer tools and in the top menu you can change the settings in what mode it is in.
也許使用基于 Java 或 Flash 的系統(tǒng)進行多次上傳是一種解決方案.此外,這些通常也支持拖放文件.
Maybe it is a solution to use a Java or Flash based system for multiple uploads. Also, these will also usually support drag and drop of files.
這篇關于HTML5 輸入類型文件的多個屬性在 IE 中不起作用?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!