Showing posts with label max_input_vars. Show all posts
Showing posts with label max_input_vars. Show all posts

Thursday 9 October 2014

How to change the maximum number of input variables for PHP scripts?

PHP obtains input variables from HTML forms (through GET and POST requests), 
as well as from any cookies enabled on a page. 
By default, the maximum number of input variables allowed for 
PHP scripts is set to 1000. You can change this amount by 
adding the max_input_vars directive to a php.ini file.

To change the maximum number of input variables allowed, use a text editor
 to add the max_input_vars directive to your php.ini file. For example,
 to set the maximum number of input variables to 1500, add the following setting:

max_input_vars = 1500