问题描述
在较新的 PHP 版本中,每个公式 (POST) 的输入文件数将限制为 1000(未经验证的信息).看起来这个限制已经安装在 5.2 的某些版本中.这给我们的网上商店带来了很多问题.
有人知道更多关于这个限制是否会受到参数或Vars的影响.我刚刚找到了 max_input_vars,但它似乎是一个全新的 5.4.RC4 变量而且我不确定这个变量是否是 POST 方法的变量.
max_input_vars
是 PHP 解决一些安全问题的一种尝试,设置后,它会限制您的输入数量(因此,表单中的字段).还要注意
max_input_nesting_level>
是的 - 它们是可配置的.只需编辑您的 php.ini 或 htaccess 值.
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.
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
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
And yes - they are configurable. Just edit your php.ini or htaccess values.
这篇关于php 内的新限制:每个 POST 1000 个字段.有人知道,是否可以影响数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!