title: Problems with file uploading HTML5
body: <p>I'm coding a web application and I need to be able to upload a CV. I have done my homework and tried everything I can find but I keep getting the same issue. In my PHP Script the $_FILES array is completely empty and the CV field is being sent to the $_POST array. My form big so I will just post the important code.</p>
  
  <pre><code>&lt;form enctype="multipart/form-data" action="exec/register_user.php" method="post"&gt;
  &lt;input type="file" name="cv" id="cv"/&gt;
  &lt;input type='submit' value='Register' /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Then I don't think it will help you with anything by posting the PHP code. But if i var_dump($GLOBALS), it shows that the $_FILES array is empty but 'cv' shows as a string in the $_POST array.</p>
  
  <p>Any help will be appreciated.
  Thanks in advance!</p>