What is the relevance of php://input
in the following snippet, and what is it used for?
$json_string = GPTake(array(\'json_string\'));
$handle = fop
It gives you direct access to the input stream, as opposed to accessing the data after PHP has already applied the $_GET
/$_POST
super globals. Also, according to the manual, it is both less intensive and allows you to grab information before any php.ini directives have been applied.
For more information, read the PHP Manual on php://input