title: Cakephp 2.0 form helper issue
body: <p>I am new to CakePHP 2.0. It has too many changes from its previous version. I have many problems with implementing basic functionality in CakePHP 2.0. I did the same code in CakePHP 1.3 and 2.0 but the output is different so it creates a problem for me.</p>
  
  <p>I have created one form as shown below:</p>
  
  <pre><code>&lt;form name="User" method="post" action="http://192.168.1.24/project/api/documents/sub" ENCTYPE="multipart/form-data"&gt; 
   &lt;table&gt;
    &lt;tr&gt;&lt;td&gt;&lt;label&gt;username:&lt;/label&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="text" name="username"&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td&gt;&lt;label&gt;password:&lt;/label&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="text" name="password"&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td&gt;&lt;label&gt;email:&lt;/label&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="text" name="email"&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td&gt;&lt;label&gt;Image:&lt;/label&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="file" name="image"&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td colspan="2" align="center"&gt;&lt;input type="submit" name="submit" value="Submit" /&gt;
  </code></pre>
  
  <p>
       
      </p>
  
  <p>I used this form for both my applications in CakePHP 1.3 and 2.0.
  The controller code of CakePHP 1.3 is:</p>
  
  <pre><code>function api_sub()
  {
    $this-&gt;layout = false;
    $this-&gt;data['Document'] = $this-&gt;params['form'];
    pr($this-&gt;data); die();
  }
  </code></pre>
  
  <p>The output of the above code is:</p>
  
  <pre><code>Array
  (
      [Document] =&gt; Array
          (
              [username] =&gt; mack
              [password] =&gt; meack
              [email] =&gt; mack@gmail.com
              [submit] =&gt; Submit
              [image] =&gt; Array
                  (
                      [name] =&gt; 01manta.jpg
                      [type] =&gt; image/jpeg
                      [tmp_name] =&gt; C:\wamp\tmp\phpF586.tmp
                      [error] =&gt; 0
                      [size] =&gt; 636306
                  )
          )
  )
  </code></pre>
  
  <p>The controller code in CakePHP 2.0 is as shown below:</p>
  
  <pre><code>public function api_sub()
  {
    //$this-&gt;layout = false;
    $this-&gt;request-&gt;data['Document']= $this-&gt;request-&gt;data;
    pr($this-&gt;request-&gt;data); die();
  }
  </code></pre>
  
  <p>The output of the above code is as shown below:</p>
  
  <pre><code>Array
  (
      [username] =&gt; mack
      [password] =&gt; meack
      [email] =&gt; mack@gmail.com
      [submit] =&gt; Submit
      [User] =&gt; Array
          (
              [username] =&gt; mack
              [password] =&gt; meack
              [email] =&gt; mack@gmail.com
              [submit] =&gt; Submit
          )
  )
  </code></pre>
  
  <p>Now the problem is that in CakePHP 2.0, the image array is missing in the output.
  Can anyone tell me how I can get that image array in CakePHP 2.0? What changes do I have to do in my coding?</p>