title: $_FILES is null, $_POST is not null
body: <p>When I am going to upload a file, my $_POST variable knows the file name, but the $_FILES variable is null. I've used this code before, so I'm really stumped.</p>
  
  <p>Here's what I'm using for input:</p>
  
  <pre><code>&lt;label for="importFile"&gt;Attach Resume:&lt;/label&gt;
  &lt;input type="hidden" name="MAX_FILE_SIZE" value="10000000"&gt;
  &lt;input type="file" name="importFile" id="importFile" class="validate['required']"&gt;
  </code></pre>
  
  <p>And for processing:</p>
  
  <pre><code>$uploaddir = "E:/Sites/OPL/2008/assets/apps/newjobs/resumes/";
  $uploadfile = $uploaddir . time() . '-' . urlencode(basename($_FILES['importFile']['name']));
  
  if (!move_uploaded_file($_FILES['importFile']['tmp_name'], $uploadfile)) {
      echo 'Error uploading file. Error number: ' . $_FILES['importFile']['error'];
      var_dump($_FILES['importFile']);
      echo $_POST['importFile'];
      die();
  }
  </code></pre>
  
  <p>Which is giving me this result:</p>
  
  <pre><code>Error uploading file. Error number: NULL
  Maintaining The OPL Website.doc
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>