0

I have a simple basic HTML form with about 1500 fields. 500 rows have text entries. When form is submitted, $_POST contains only about 130 entries of those 500 rows. post_max_size is high, so it's not that. You can see the barebone sample here:

http://www.dadilja.rs/test.php

If you check the source after submit, you will see that the $_POST data contains entries only until letter F.

So I'm figuring it's some server setting, since there's only HTML on the page, and the behaviour is the same on two different servers - probably some generic setting. If you check the Web console, and inspect Request Body, you will see that the form submits all the data. Any ideas?

srgb
  • 4,783
  • 6
  • 29
  • 45

2 Answers2

0

Check your php.ini max_input_vars. Default is 1000.

va5ja
  • 473
  • 1
  • 3
  • 8
0

Try to change the max_input_vars, check this as well for more info. Source - link.

Community
  • 1
  • 1
ryeballar
  • 29,658
  • 10
  • 65
  • 74
  • Links can be helpful as supplemental information, but [link-only answers are frowned upon](http://meta.stackexchange.com/a/8259/228805). Please include a summary of the linked information that's relevant to the question, and explain how it resolves the issue. – Adi Inbar Mar 22 '14 at 16:21