there is a form that submits more than 1000 pieces of data
<input type="checkbox" name="order_ids[]" value="1" >
<input type="checkbox" name="order_ids[]" value="2" >
<input type="checkbox" name="order_ids[]" value="3" >
...
<input type="checkbox" name="order_ids[]" value="1900" >
use these two outputs in the background after submission
-
file_get_contents ("php://input")string (19755) "order_ids%5B%5D=1&order_ids%5B%5D=2&order_ids%5B%5D=3&.&order_ids%5B%5D=1900
-
$_ POSTarray(1) { ["order_ids"] => array(898) { [0] => string(5) "1" [1] => string(5) "2" [2] => string(5) "3" ...... [1000] => string(5) "10001" }}
when the amount of data exceeds 1000, file_get_contents ("php://input") outputs the result I want, but $_ POST is 1001 pieces of data, but this situation does not exist when it is below 1000. Is it the problem with my php.ini configuration that limits the size of POST ?
solve
