title: Can't display $_ENV Values
body: <p>I'm using Putty.  I am trying to get <code>$_ENV</code>to print to a table.  I seem to be OK with <code>$_SERVER</code> displaying, but everything I try with <code>$_ENV</code> wont display.  My code is :</p>
  
  <pre><code>&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;$_ENV&lt;/TITLE&gt;&lt;/HEAD&gt;
  &lt;BODY&gt;
  &lt;TABLE border="1"&gt;
  &lt;TR&gt;&lt;TD&gt;&lt;b&gt;Keys&lt;/b&gt;&lt;TD&gt;&lt;b&gt;Values&lt;/b&gt;
  &lt;?php
  while (list ($key, $value) = each($_ENV)) {
    print ("&lt;TR&gt;&lt;TD&gt;$key&lt;TD&gt;$value\n");
  }
  ?&gt;
  &lt;/TABLE&gt;
  &lt;/BODY&gt;&lt;/HTML&gt;
  </code></pre>
  
  <p>The <code>getenv("REMOTE_ADDR")</code> and <code>print_r($_ENV)</code> will only give me the Remote Address.  I want all keys and their variables.  For <code>$_SERVER</code> my code gives me all keys from a form that's submitted.  </p>
  
  <pre><code>&lt;?php
  //If form not submitted, display form.
  if (isset($_POST['submit']))
      {
  
      $msg = $_POST["msg"];
      $name = $_POST["name"];
      $posts = file_get_contents("posts.txt");
      $posts = "$msg - $name\n" . $posts;
      file_put_contents("posts.txt", $posts);
      echo $posts;
  
      print"&lt;table border=1&gt;";
           echo "&lt;th&gt;Keys&lt;/th&gt; &lt;th&gt;My SERVER Info&lt;/th&gt;";
   foreach ($_SERVER as $key=&gt;$val )
           {
           echo "&lt;tr&gt;&lt;td&gt;".$key."&lt;/td&gt;&lt;td&gt;" .$val."&lt;/tr&gt;";
           }
      print"&lt;/table&gt;";
  </code></pre>