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.