php Post limited to 1000 variables

后端 未结 4 780
我在风中等你
我在风中等你 2020-12-06 04:49

I\'ve got a large form and I can see from firebug that all of the elements\' values are being sent properly, but when I print_r($_POST) there are only 1000 variables display

4条回答
  •  隐瞒了意图╮
    2020-12-06 05:33

    I had that exact same problem of the 1000 variable limit using PHP v5.4.20. Even though the php.ini file did not contain any such 'max_input_vars' line, I simply found a convenient place to slot it in under the top [PHP] section, added the line 'max_input_vars = 10000', restarted Apache and everything was solved.

提交回复
热议问题