title: file_get_contents('php://input') returns empty when sending thru url parameter
body: <p>I know this question has been already asked in the forum for several times but neither any of the answer worked for me. I still get empty string every time I try to send a data via a URL parameter.</p>
  
  <p>This is the PHP code</p>
  
  <pre><code>            &lt;?php   
                      if (!file_get_contents("data:,ok")) {
                                die("Houston, we have a stream wrapper problem.");
                           }
                      print "CONTENT_TYPE: " . $_SERVER['CONTENT_TYPE'] . "&lt;BR /&gt;";
                      $data = file_get_contents('php://input');
                      print "DATA: &lt;pre&gt;";
                      var_dump($data);
                      $tempArray = json_decode(file_get_contents('generated.json'), true);
                      array_push($tempArray, $data);
                      $jsonData = json_encode($tempArray);
                      file_put_contents('generated.json', $jsonData);
                      print "&lt;/pre&gt;"; 
              ?&gt;
              &lt;form method="post"&gt;
                  &lt;input type="text" name="name" value="ok" /&gt;
                  &lt;input type="submit" name="submit" value="submit"/&gt; 
              &lt;/form&gt;
  </code></pre>
  
  <p>Example of passing a variable using url parameter</p>
  
  <pre><code>http://localhost/tests/testtest.php?name=what
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>            Notice: Undefined index: CONTENT_TYPE in C:\Apache24\htdocs\tests\testtest.php on line 5
              CONTENT_TYPE:
              DATA: 
  </code></pre>
  
  <p>I have already set <code>allow_url_fopen = On</code>, set the <code>post_max_size = 8M</code> and still no hope. However when I try to send a data by click the submit button it send a raw data to the php (<code>string(21) "name=ok&amp;submit=submit"</code>).</p>
  
  <p>Anyone care to help? Thanks!</p>