I am using php 5.2.1
I am using the following snippet to get raw data input to my script:
Code: Select all
$buffer = file_get_contents("php://input");
However, in a few cases, the buffer that I get is an empty string.
I know that the caller is never sending an empty string, so I am wondering what could cause such problem.
Does anyone have any idea? How would I go about debugging such problem?
regards
Jason