Hi Andras, Make sure the name of the file field is the same as the name you specified in the actas array. There is a slightly updated version of this behaviour here btw:
http://tinyurl.com/yr6tqd This includes a lot of fixes by AD7six and some of my own. Beware though; the actas array changed in this version so be sure to upgrade your model file too. Tijs On 2-aug-2007, at 14:24, Andras Kende wrote: > > Hello, > > I'm trying to use Upload behaviour from http://bin.cakephp.org/ > saved/21813 > > I went through the steps but im lost whats should be in the controller > action > to upload, resize the pcitures.. > > my view template: > > <form action="/m/images/add" enctype="multipart/form-data" > method="post"> > <?php echo $form->file('filename'); ?> > <?php echo $form->submit('Upload'); ?> > </form> > > > > Thanks for any input, > > > Andras > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
