如何在 PHP 中显示进度条,我必须上传 100MB 的文件大小?不带APC

发布于 2024-09-05 08:02:34 字数 144 浏览 0 评论 0原文

如何在 PHP 中显示进度条,我必须上传 100MB 的文件大小?我无法安装 APC。我被允许这样做.. 帮我完成它......

PS>我没有专用服务器,因此无法使用 APC

我们有 PHP 5.2+

How to show progress bar in PHP where i have to upload the file size of of 100MB? I cannot have APC installed. I am allowed to do so..
Help me out to get it done...

P.S > I DO NOT HAVE DEDICATED SERVER HENCE CANNOT USE APC

We have PHP 5.2+

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

北恋 2024-09-12 08:02:34

最适合的是 uploadify
它的简单和强大的jquery插件,它可以支持排队,

我在写这个答案之前测试过它,没有APC

它已经成功上传了500 MB,它非常方便的工具

the most suitable one for is uploadify
its simple & powerful jquery plugin and it can support queuing ,

i had test it before writing this answer with out APC

it had successfully upload 500 MB , its very handy tool

ペ泪落弦音 2024-09-12 08:02:34

对我来说,最好的选择是 SWFupload...

查看此演示:http://demo。 swfupload.org/v250beta3/formsdemo/index.php
只需填写表格附加文件并单击发送...您将看到进度条如何接近。

除了处理传入文件的脚本之外,您不需要任何服务器端脚本。

for me the best choice is SWFupload...

check this demo: http://demo.swfupload.org/v250beta3/formsdemo/index.php
just fill the form attach a file and click send... you will see how progress bar are approaching.

you don't need any server side scripts, besides the one to handle incoming file.

把时间冻结 2024-09-12 08:02:34

我见过的上传大文件的最佳方法是使用 PLUpload。它支持文件分块(使用 Flash、Gears、Silverlight 或 Browser Plus),这还允许您将 PHP 文件上传限制设置得较低。

Plupload v1.2.3

允许您使用 HTML5 Gears、Silverlight、Flash、BrowserPlus 或普通表单上传文件,提供一些独特的功能,例如上传进度、图像大小调整和分块上传。

The best approach for uploading large files that I've seen yet is to use PLUpload. It supports file chunnking (using Flash, Gears, Silverlight or Browser Plus) which will also allow you to keep your PHP file upload limits set lower.

Plupload v1.2.3

Allows you to upload files using HTML5 Gears, Silverlight, Flash, BrowserPlus or normal forms, providing some unique features such as upload progress, image resizing and chunked uploads.

天气好吗我好吗 2024-09-12 08:02:34

APC 确实是您无需重新编译 PHP 并使用 不支持的第三方即可获得的最佳(只读)选择派对补丁

您是否考虑过使用客户端插件来执行上传状态信息?例如,Plupload 会从用户可能拥有的各种插件中进行选择。

为什么你“不允许”APC?

APC is really the best (read: only) choice you're going to get without recompiling PHP and using unsupported third-party patches.

Have you considered using a client-side plugin to perform the upload status information? There's Plupload, for example, which will pick from a variety of plugins that the user may have.

Why are you "not allowed" APC?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文