Doc #65778 [Opn]: wrong information about introduction of max_input_vars directive
| From: | ubuntu at spacetrace dot org | Date: | Sat, 28 Sep 2013 05:51:35 +0000 |
| Subject: | Doc #65778 [Opn]: wrong information about introduction of max_input_vars directive | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10323@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65778&edit=1
ID: 65778
User updated by: ubuntu at spacetrace dot org
Reported by: ubuntu at spacetrace dot org
Summary: wrong information about introduction of
max_input_vars directive
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: debian
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
tested in PHP 5.3.3-7+squeeze17 without suhosin module
Previous Comments:
------------------------------------------------------------------------
[2013-09-28 05:42:33] ubuntu at spacetrace dot org
Description:
------------
---
From manual page: http://www.php.net/info.configuration
---
It sais max_input_vars is available since PHP 5.3.9.
But I run PHP 5.3.3-7+squeeze17 on my debian server which also already has the directive
max_input_vars.
I can change the value in php.ini and it is displayed correctry changed in phpinfo().
Please add information about the behaviour with older versions
see http://stackoverflow.com/questions/19042734/is-there-a-limit-like-max-input-vars-in-versions-before-5-3-9
Test script:
---------------
<?php
if(!empty($_REQUEST)) echo sizeof($_REQUEST)." num request variables";
else {
?><form method="post"><?
for($i=0;$i<1100;$i++) echo '<input type="hidden"
value="v'.$i.'" name="v'.$i.'">';
?><input type="submit">
</form>
<?
}
Expected result:
----------------
after hitting the submit button it should say:
"1100 num request variables"
Actual result:
--------------
still "1000 num request variables"
although phpinfo() sais: max_input_vars is set to 100000
see
http://r.z11.de/paste/max_input_vars.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65778&edit=1