title: PHP File Upload. var_dump returns empty string
body: <p>I'm trying to create file upload with php. But <code>$_FILES['photo']['name']</code> returns nothing. Then I googled lot and find out about the <code>var_dump</code> method. When I run it. It returns following array.</p>
  
  <pre><code>array (size=5)
    'name' =&gt; string '' (length=0)
    'type' =&gt; string '' (length=0)
    'tmp_name' =&gt; string '' (length=0)
    'error' =&gt; int 4
    'size' =&gt; int 0
  </code></pre>
  
  <p>name, type and tmp_name is blank. </p>
  
  <p>Here is the full code. (PHP)</p>
  
  <pre><code>if ($_SERVER['REQUEST_METHOD'] === 'POST') {
  
       var_dump($_FILES['photo']);
  }
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;form class="bs-docs-example" action="upload.php" method="post" enctype="multipart/form-data"&gt;
          &lt;fieldset&gt;
              &lt;legend&gt;File Upload&lt;/legend&gt;
  
              &lt;label&gt;&lt;input type="file" name="photo" size="25" /&gt;&lt;/label&gt;
              &lt;label&gt;&lt;input type="file" name="photo" size="25" /&gt;&lt;/label&gt;
              &lt;label&gt;&lt;input type="file" name="photo" size="25" /&gt;&lt;/label&gt;
  
              &lt;label&gt;&lt;button type="submit" name="add_video" value="Submit" class="btn"&gt;Submit&lt;/button&gt;&lt;/label&gt;
  
          &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Any suggestions. Thanks in Advance.</p>