1

PHP, by default, does not post more than 1000 form fields. I can increase limit by using "php_value max_input_vars 5000" in htaccess. But I want to apply to specific url using .htaccess.

ini_set('max_input_vars',2000); //cannot set runtime.

for example : I want to apply only when controller is Teachers and method is details.

For other controllers, it should be default. myurl http://localhost/proejct/admin/teachers/details.

Abhishek Gurjar
  • 7,426
  • 10
  • 37
  • 45

0 Answers0