new limit within php: 1000 fields per POST

Hi all,

My form need to pass(POST) an array which size over 25000 , but i just can only pass 1000 now, so i google and

find a solution, result told me if i change the setting(max_input_vars) in php.ini ,

then i can pass over 1000 record, but i don’t see the variable

(max_input_vars) in my php.ini , what can i do now? Thanks.

P.S my php version us 5.4.16

Brgds/Brandon Chau

According to this link, you can add that value to your .htaccess file - many other answers I found said the same.

Example

#set max post size php_value post_max_size 20M

Hi awl19,

Thank for your reply 8)

I just added this line max_input_vars = 10000; at the end of my php.ini , and it works now , thanks ^^"

Brgds/Brandon Chau

Sponsor our Newsletter | Privacy Policy | Terms of Service