上传进度条最佳解决方案共享服务器用户 [英] best solution for upload progress bar for shared server user

查看:91
本文介绍了上传进度条最佳解决方案共享服务器用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到了很多的解决方案,但什么是最好的稳定solutin无管理员用户谁不能配置服务器。我发现其中的一些:

i have seen lots of solution, but what is the best stable solutin for no-administrator user who cant config server. i found some of these:

  • 在使用APC扩展
  • 的Perl CGI,而不是PHP
  • 基于Flash的
  • 在使用JS框架

林不知道我可以使用的扩展,不明白Perl来掌控的过程中,而且完全不使用闪光灯mywebsite因为用户显著比例没有闪烁。和Im不想用,因为越来越多mywebsite大小的框架。

im not sure i could use extension, not understand perl to control over the process, and totally not use flash in mywebsite because significant percentage of user have not flash. and im not want to use framework because of growing mywebsite size.

我觉得必须有一个更好的ajax | JS | PHP的便携式解决方案。

i think must be a better ajax | js | php portable solution.

推荐答案

您已经上市的准备,我知道 - 但是即使是基于AJAX的上传利用一些闪光的过程中,据我所知(如的 Uploadify )。

You have listed all possibilities I know of - however even the AJAX based uploads utilize some Flash in the process, as far as I know (e.g. Uploadify).

如果你问我,去为Flash。大多数用户拥有它,而且它是最麻烦来设置。

If you ask me, go for Flash. Most users have it, and it's the least hassle to set up.

顺便说一句,使用JavaScript框架往往是一个很好的主意,独立于你的问题。在项目规模的增加是微不足道的(20-100 KB)和那些库需要加载一次。他们做出的很多的容易做的事情,并为您的用户界面,一个跨浏览器一致的基础。如果你使用了大量的Javascript,你几乎总是最好使用一个框架。

By the way, using a JavaScript framework is often a really good idea, independently from your question. The increase in project size is insignificant (20-100 kb) and those libraries need to be loaded only once. They do make a lot of things easier to do, and offer a cross-browser consistent foundation for your user interface. If you use a lot of Javascript, you're almost always better off with a Framework.

这篇关于上传进度条最佳解决方案共享服务器用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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