cadicvnn's avatar

Laravel Request array param type limit.

I create a form to allow to submit ulimited of options

  • form actions i POST
  • form enctype = multipart/form-data, i allow to upload image
  • the option name is "option_name[]" type array
  • I enter 700 options then submit

In laravel when debug i found that, laravel $_REQUEST only allow me to get 498 option_name option_name={array}[498]

I made some check

  • from Chrome, it send request with full 700 value for option_name[]
  • i change php post_max_size, but it doesn't help

Could some one tell me what i need to change so that i can get the input "option_name" with full value submit from form.

Thanks,

0 likes
1 reply
cadicvnn's avatar

I found the limit. That is the php param in php.ini

; How many GET/POST/COOKIE input variables may be accepted max_input_vars = 1000

I increase this value and it works now.

4 likes

Please or to participate in this conversation.