max input vars code example
Example 1: input maxlength
<form action="/action_page.php">
<label for="username">Username:</label>
<input type="text" id="username" name="username" maxlength="10"><br><br>
<input type="submit" value="Submit">
</form>
Example 2: setting max input var
htaccess --> php_value max_input_vars 3000
.php --> ini_set('max_input_vars', 3000);
Example 3: input max length
<input maxlength="10" />
Example 4: how to set max_input_vars in htaccess
@ini_set( 'max_input_vars' , 4000 );