title: $_SERVER['REQUEST_METHOD'] does not exist
body: <p>I've just installed WAMP and I can access localhost and get the phpinfo() output.</p>
  
  <p>However, although I can see _SERVER['REQUEST_METHOD'] is set to GET, I'm trying to use the following PHP:</p>
  
  <pre><code>if ($_SERVER["REQUEST_METHOD"]=="POST") {
    ...
  </code></pre>
  
  <p>but it produces this error:</p>
  
  <blockquote>
    <p>PHP Notice:  Undefined index: REQUEST_METHOD in C:\ ... \test.php on line 40</p>
  </blockquote>
  
  <p>Using Komodo to stop at line 40 and check $_SERVER - it does not have 'REQUEST_METHOD' in the array at all - not even GET.</p>
  
  <p>Anyone have any ideas?  Do I have to enable POST, REQUEST_METHOD?</p>
  
  <p>Why can I see REQUEST_METHOD=GET in the phpinfo but not in the PHP script.</p>
  
  <p>I also tried this:</p>
  
  <pre><code>&lt;?php
  ob_start();
  phpinfo();
  $info = ob_get_contents();
  ob_end_clean();
  ?&gt;
  </code></pre>
  
  <p>I generates some of the phpinfo (as viewed in the browser using localhost/?phpinfo=1) but not all of it. Why not?</p>