I would like to know how I could write something in "php://input".
Actually I would like to know if I can use this stream like a superglobal.
Example with $_POST
file1: $_POST['param'] = "test";
file2: $param = $_POST['param'];
What I want
file1: ?????????????
file2: $param = file_get_contents('php://input');
Do I need to throw a POST request to from file1 to file2?
Thanks for read me :)
Have a nice day
Michaël S.