php中的新限制:每个POST 1000个字段.有人知道这个数字是否会受到影响? [英] new limit within php: 1000 fields per POST. Does someone know, if the number can be influenced?

查看:74
本文介绍了php中的新限制:每个POST 1000个字段.有人知道这个数字是否会受到影响?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在较新的PHP版本中,每个公式(POST)的输入文件数将限制为1000(未经验证的信息).它表明在某些5.2的内部版本中已经安装了此限制.这会在我们的在线商店中引起很多问题.

In newer PHP-Versions the count of input-fileds per formula (POST) will be limited to 1000 (unverified information). It seams that this limit is already installed in certain builds of 5.2. This causes a lot of problems at our online shop.

是否有人对此有更多了解,以及此限制是否会受到参数或Vars的影响. 我刚刚找到max_input_vars,但它似乎是5.4.RC4的一个完整的新var.我不确定,该var是否适合POST方法.

Does someone know more about it and if this limit could be influenced by parameters or Vars. I just found max_input_vars, but it seems to be a complete new var of 5.4.RC4 And I'm not sure, if this var will be the one for the POST method.

推荐答案

max_input_vars

是PHP试图解决一些安全问题的尝试,设置后,它会限制输入的数量(因此,表单中的字段).还要提防

is an attempt for PHP to solve some security issues and when set, it limits your number of inputs (thus, fields in your forms). Also beware of

max_input_nesting_level

是的-它们是可配置的.只需编辑您的php.ini或htaccess值即可.

And yes - they are configurable. Just edit your php.ini or htaccess values.

这篇关于php中的新限制:每个POST 1000个字段.有人知道这个数字是否会受到影响?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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