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