本文介绍了邮寄申请的大小限制是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很抱歉,如果这是重复的,我会认为它会找不到任何东西。

Sorry if this is duplicate,I would think it would be but couldn't find anything.

我有一个flex应用程序,我将数据发回给php / mysql服务器通过IE浏览器。我还没有遇到任何问题,但提前知道这可能会让我失去一些挫折和工作。通过http发布数据是否有大小限制?

I have a flex application that I am posting data back to a php/mysql server via IE. I haven't run into any problems yet, but knowing this ahead of time might save me a bunch of frustration and work. Is there a size limit to posting data via http?

本文说不:

此讨论说是:

这一切都是我能在网上找到的。所以限制个人测试/验证号码的答案。

And it all goes back and forth what I'm able to find online. So please limit answers to personally tested/verified numbers.

我想发回一个可能非常大的XML字符串(比如说)到5mb)。

I am wanting to post back an XML string that can be quite large (say up to 5mb).

如果它有任何区别:浏览器将永远是IE(我们的产品需要它),帖子来自和httpService在flex,web服务器是php ,DB是mySql。

If it makes any difference: browser will always be IE (our product requires it), post is coming from and httpService in flex, web server is php, DB is mySql.

推荐答案

这取决于服务器配置。如果您正在使用Linux或类似的PHP,您可以使用.htaccess配置文件来控制它,如下所示:

It depends on a server configuration. If you're working with PHP under Linux or similar, you can control it using .htaccess configuration file, like so:

#set max post size
php_value post_max_size 20M

而且,是的,我可以亲自证明事实上,这是有效的:)

And, yes, I can personally attest to the fact that this works :)

如果您使用的是IIS,我不知道您如何设置此特定值。

If you're using IIS, I don't have any idea how you'd set this particular value.

这篇关于邮寄申请的大小限制是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 21:12