HTML5:AJAX文件上传有进度条 [英] HTML5: AJAX file upload with progress bar

查看:133
本文介绍了HTML5:AJAX文件上传有进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望做一个文件上传与HTML5的进度条。我已经使用了一些教程在别处找到了包括SO尝试。 会这样回答(公认的)似乎得到最接近我想要什么,但我不能工作了PHP的结束,也无论是 $ _ FILES $ _ POST 阵列出现是空的。

I'm looking to make a file uploader with a progress bar in HTML5. I've tried using a number of tutorials found elsewhere including on SO. This SO answer (the accepted one) seems to get the closest to what I want but I can't work out the PHP end, also both the $_FILES and $_POST arrays appear to be empty.

在人们开始说这是不可能的,隐藏的内置页框等..它应该是可能的HTML5。

Before people start saying it's not possible with hidden iframes etc... It should be possible with HTML5.

jQuery是可用的如果需要的话,但我的即时通讯pression是jQuery的目前不支持很多HTML5功能。

jQuery is available if required, but my impression is that jQuery does not currently support a lot of HTML5 functionality.

更新:

我只是担心Chrome浏览器现在。

I'm only worrying about Chrome right now.

推荐答案

我想,这可能为你工作<一个href="http://aquantum-demo.appspot.com/file-upload">http://aquantum-demo.appspot.com/file-upload

这篇关于HTML5:AJAX文件上传有进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆