cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

pho://input empty

have a tool that posts data to a PHP page. The page uses php://input to get the post contents, decode it and insert the values into a database.

 

The problem I've now encountered is that for some reason php://input is empty when the post's content-length is equal to or greater than 16384. If the content-length is less than this number I can get the post fine with php://input, but when equal to or greater than this value php://input is empty.

 

At first I wondered if this was to do with post_max_size, however this is set to 128M in php56.ini and I've confirmed the value with phpinfo.

 

This used to work fine before, it seems to have stopped working around the time I switched from PHP 5.3 to PHP 5.6. Anybody any ideas as to why?