title: CodeIgniter file input not being picked up
body: <p>I've got a simple image upload form, which isn't detecting an image being posted. I'm sure there's something I'm missing but I just can't seem to find it. Code below:</p>
  
  <p>Form file:</p>
  
  <pre><code>&lt;?php echo form_open_multipart( 'account/uploadimage' ) ?&gt;
  
      &lt;?php echo form_label('Image', 'userfile'); ?&gt;
  
      &lt;input name="userfile" type="file" /&gt;                   
  
      &lt;div class="formSubmit clearfix"&gt;
          &lt;?php echo form_submit('submit', 'Update'); ?&gt;
      &lt;/div&gt;
  
  &lt;?php echo form_close(); ?&gt;
  </code></pre>
  
  <p>Controller "/account/uploadimage"</p>
  
  <pre><code>var_dump( $this-&gt;input-&gt;post('userfile') ); // bool(false)
  echo "&lt;hr&gt;";
  var_dump( $_FILES['userfile']['name'] ); // The info I'm after
  </code></pre>
  
  <p>I want to make use of the Codeigniter facilities, so need $this->input->post('userfile') to work.</p>
  
  <p>Any ideas as to why it gives me false?</p>
  
  <p>Thanks</p>
  
  <p>Paul</p>