title: php empty post array with file upload
body: <pre><code>&lt;form method="post" enctype="multipart/form-data"&gt;
          &lt;h3&gt;Add video&lt;/h3&gt;
          &lt;div class="field_wrap"&gt;
          &lt;p&gt;Name&lt;/p&gt;
          &lt;input type="text" name="title"/&gt;
          &lt;/div&gt;
          &lt;div class="field_wrap"&gt;
          &lt;p&gt;Video&lt;/p&gt;
          &lt;input name="video" type="file" /&gt;
          &lt;/div&gt;
          &lt;p&gt;&lt;button&gt;Add&lt;/button&gt;&lt;/p&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>This is the form I use to upload a video file and a title, so when I DON'T upload a file the $_POST variable is filled with form data, but If I upload a file the $_POST variable is empty, why is that?</p>