文件上传大文件的PHP / AJAX文件上传、大文件、AJAX、PHP

2023-09-10 13:48:13 作者:野蛮生长

我试着去寻找一些软件来帮助我真正上传大文件(> 200MB)。我只是想上传一个文件,没有多选项。此外,我想一个简单的进度条,如果可能的话。

Im trying to find some software to help me upload really large files (>200mb). I only want to upload a single file, no multi-options. Also i would like a simple progress bar if possible.

我所遇到 http://pixeline.be/experiments/jqUploader/ 这是字面上我需要什么,但它有每个文件100MB的限制,因为它使用闪光灯。

I have come across http://pixeline.be/experiments/jqUploader/ which is literally what i need but it has a limit of 100mb per file, because it uses flash.

有谁知道别的多数民众赞成与此类似,但可以处理更大的文件?

Does anyone know of something else thats similar to this, but can handle larger files?

THX

推荐答案

另一种流行的解决方案是 HTTP://www.swfupload .ORG / ,但我想它可能受到了100MB的限制。

Another popular solution is http://www.swfupload.org/, but I guess it may suffer from the 100MB limit.

对于大文件大小的整个问题,从我的研究似乎是为了上传大文件有没有其他的选择,而不是增加的upload_max_filesize,upload_tmp_dirpost_max_size以及max_execution时间值。我不知道什么是安全的影响是具有post_max_size的设定,比如说,500M的?带宽它不是问题,我关注 - 这是可能出现的,允许攻击者随意500M POST请求发送到服务器的可能的DoS攻击。最好的解决方法,我能想到的这个问题是发送上传到不同的服务器。

Regarding the whole issue of large file sizes, from my research it seems that in order to upload large files there is no other option than to increase the values for upload_max_filesize, post_max_size and max_execution time. I just wonder what the security implications are of having post_max_size set to, say, 500M? Its not the issue of bandwidth that concerns me - it is the possible DoS attacks that might arise from allowing attackers to send random 500M POST requests to the server. The best workaround I can think for this issue is to send uploads to a different server.

还有就是整个问题的一个很好的讨论在这里:

There is a good discussion of the whole issue here:

http://aaronwinborn.com/blogs/aaron/how-处理大型文件,上传

如果所有的Apache的黑客那里,也可能揭示具有用于post_max_size要真正大的值的安全性产生影响的任何的光,将是巨大的。

If any Apache hackers out there can shed any light on the security implications of having a really large value for post_max_size that would be great.

 
精彩推荐
图片推荐