问题描述
我确定以前有人问过这个问题,但由于我似乎找不到一个好的答案,所以我在这里,再次问......:)
I'm sure this has been asked before, but as I can't seem to find a good answer, here I am, asking... again. :)
有没有什么方法可以混合使用 HTML、JavaScript/AJAX 和 PHP 来报告文件上传的实际进度?
Is there any way, using only a mixture of HTML, JavaScript/AJAX, and PHP, to report the actual progress of a file upload?
回复任何建议 SWFUpload 或类似内容的人:
In reply to anyone suggesting SWFUpload or similar:
我知道这一切.走过那条路.我正在寻找 100% 纯的解决方案(是的,我知道我可能不会得到它).
I know all about it. Been down that road. I'm looking for a 100% pure solution (and yes, I know I probably won't get it).
推荐答案
如果您能够将 PECL 包添加到 PHP 中,则有 上传进度 包.
If you're able to add PECL packages into your PHP, there is the uploadprogress package.
不过,最简单的方法是使用 swfupload.
The simplest way would be to just use swfupload, though.
这篇关于使用纯 PHP/AJAX 上传进度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)