Try $this->postConditions($this->data) instead.
On May 17, 12:18 pm, "Siegfried Hirsch" <[EMAIL PROTECTED]> wrote: > Hello, > > today I have read through the manual (1.1) about the $this->params['form'] > which holds all the POST information from a form. Right ? > > I am using 1.2 4798 and I have setup the following view: > > <?php > echo $form->create('Test', array('action' => '/tests/login', > 'method'=>'post', 'type' => 'file')); > echo $form->input('filename', array('type' => 'file')); > echo $form->submit('upload'); > echo $form->end(); > ?> > > But the $this->params['form'] is empty. Instead I get this in the controller > when I do pr($this->params) in my tests_controller; > Array > ( > [controller] => tests > [action] => login > [form] => Array > ( > ) > > [data] => Array > ( > [Test] => Array > ( > [filename] => Array > ( > [name] => ejabberd.txt > [type] => text/plain > [tmp_name] => C:\DevWeb\xampp\tmp\phpF3.tmp > [error] => 0 > [size] => 107 > ) > > ) > > ) > > [url] => Array > ( > [url] => tests/login > ) > > [bare] => 0 > [webservices] => > [plugin] => > ) > > Am I doing something wrong or did I missunderstood the docs or has it changed. > I am a little bit confused. > > -- > Siegfried --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---