Mindaugas Li
Mindaugas Li

Reputation: 1092

PHP cuts data after 1000 vars

I have a form that contains about 4000 variables (all variables are arrays, like var1[], var2[], etc.) and is submitted using POST.

The problem is that after submitting form, PHP leaves only 1000 variables (so the final result is 10 arrays containing 100 elements each) and cuts everything rest.

I already changed max_input_vars and suhosin.post.max_vars from 1000 to 10000, but no effect. PHP info is available at http://lipskas.com/phpinfo.php

What else should I change?

Upvotes: 0

Views: 71

Answers (1)

Newbie
Newbie

Reputation: 287

Try to increase the max_input_vars value in php.ini:

max_input_vars = 1000

Upvotes: 1

Related Questions