php Post limited to 1000 variables

后端 未结 4 785
我在风中等你
我在风中等你 2020-12-06 04:49

I\'ve got a large form and I can see from firebug that all of the elements\' values are being sent properly, but when I print_r($_POST) there are only 1000 variables display

4条回答
  •  一个人的身影
    2020-12-06 05:19

    I had a similar situation; I could only POST the first 1000 elements of an array.

    My solution was to implode() the array into one long string and explode() it on the server side.

    json_encode() could probably work as well.

提交回复
热议问题