setting max_input_vars PHP.ini directive using ini_set

后端 未结 2 1812
礼貌的吻别
礼貌的吻别 2020-12-10 01:48

Can I set the max_input_vars PHP.ini directive in my code? I have it set at the default 1000, however I have a script that has many checkboxes and text fields that could, an

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-10 02:03

    max_input_vars has a changeable mode of PHP_INI_PERDIR meaning it can't be changed using ini_set (only in php.ini, .htaccess or httpd.conf)

提交回复
热议问题