为什么一个大的不上传,当一个小的时候,当它仍然在POST限制内? [英] why would a large not upload, when a small does, when it is still within the POST limit?

查看:58
本文介绍了为什么一个大的不上传,当一个小的时候,当它仍然在POST限制内?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站上有一个文件上传脚本。我刚才用它来上传一张

的小文本文件(10k)。一切都运行良好。


然后我尝试上传一个5.3兆的Quicktime视频。


没用。


我已经将php.ini中的POST限制设置为8兆。


除了POST限制之外,什么原因导致大型上传失败?

I''ve a file upload script on my site. I just now used it to upload a
small text document (10k). Everything worked fine.

Then I tried to upload a 5.3 meg Quicktime video.

Didn''t work.

I''ve set the POST limit in php.ini to 8 megs.

What reasons, other than the POST limit, would a large upload fail?

推荐答案

On Sun,08 Jan 2006 03:08:20 -0800,lawrence k写道:
On Sun, 08 Jan 2006 03:08:20 -0800, lawrence k wrote:
我的网站上有一个文件上传脚本。我刚才用它来上传一个
小文本文件(10k)。一切都运行良好。

然后我尝试上传一个5.3兆的Quicktime视频。

没有工作。

我已经设置php.ini中的POST限制为8兆。

除了POST限制之外,什么原因导致大型上传失败?
I''ve a file upload script on my site. I just now used it to upload a
small text document (10k). Everything worked fine.

Then I tried to upload a 5.3 meg Quicktime video.

Didn''t work.

I''ve set the POST limit in php.ini to 8 megs.

What reasons, other than the POST limit, would a large upload fail?



5兆的二进制文件数据将被发送的数量远远超过(基数64

编码?)ascii数据。


尝试加倍你的限制,看看它是否神奇地起作用。


史蒂夫


5 megs of binary data will be sent as a lot more than that of (base 64
encoded?) ascii data.

Try doubling your limit and see if it magically works.

Steve


lawrence k写道:
lawrence k wrote:
我有一个我网站上的文件上传脚本。我刚才用它来上传一个
小文本文件(10k)。一切都运行良好。

然后我尝试上传一个5.3兆的Quicktime视频。

没有工作。

我已经设置php.ini中的POST限制为8兆。

除了POST限制之外,什么原因导致大型上传失败?
I''ve a file upload script on my site. I just now used it to upload a
small text document (10k). Everything worked fine.

Then I tried to upload a 5.3 meg Quicktime video.

Didn''t work.

I''ve set the POST limit in php.ini to 8 megs.

What reasons, other than the POST limit, would a large upload fail?



检查你的脚本超时限制。你上传的时间过长了吗?

太长了?


Check also your script time-out limit. Your long upload might be taking
too long?


jo ********* @ sbcglobal.net 说...
lawrence k写道:
lawrence k wrote:

我已经将php.ini中的POST限制设置为8兆。

除了POST限制之外,大型上传失败的原因是什么?

I''ve set the POST limit in php.ini to 8 megs.

What reasons, other than the POST limit, would a large upload fail?



还检查脚本超时限制。您上传的时间过长可能会花费太长时间?



Check also your script time-out limit. Your long upload might be taking
too long?




如果您在Apache上使用PHP,请检查httpd.conf设置是否

低于你的PHP设置。


Geoff M



If you''re using PHP on Apache check that the httpd.conf settings aren''t
lower than your PHP settings.

Geoff M


这篇关于为什么一个大的不上传,当一个小的时候,当它仍然在POST限制内?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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