[ad_1]
max_input_varsintegerHow many input variables may be accepted (limit is applied to
$_GET,$_POSTand$_COOKIEsuperglobal
separately). Use of this directive mitigates the possibility of denial
of service attacks which use hash collisions. If there are more input
variables than specified by this directive, anE_WARNINGis issued,
and further input variables are truncated from the request.
Set the max_input_vars to a bigger number.
ini_set('max_input_vars', 5000);
I also notice in your code that you’re nesting a lot of values.
max_input_nesting_levelintegerSets the max nesting depth of input variables (i.e.
$_GET,$_POST..)
ini_set('max_input_nesting_level', 5000);
It may be better if you do this within your php.ini file. If you do, make sure you restart. sudo service httpd restart (assuming you’re running Apache)
[ad_2]
solved POST array in php not showing all the elements [closed]