title: Trouble accessing HTML form data using PHP
body: <p>I'm trying to build a file upload form and I'm having trouble with the very basics.  My form is this:</p>
  
  <pre><code>&lt;html&gt;
     &lt;body&gt;
        &lt;form action="fileuploader.php" method="POST" enctype="multipart/form-data"&gt;
           &lt;input type="file" name="filename" /&gt;
           &lt;input type="submit"/&gt;
        &lt;/form&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>My php code so far is one line and it doesn't do anything: </p>
  
  <pre><code>&lt;?php
  echo $_POST['filename'];
  ?&gt;
  </code></pre>
  
  <p>The idea (at this point) is just to display the name of the file entered in the form.  What am I doing wrong?</p>