snippet:
<p>
Image:
<?php echo $html->file('Inventory/image', array('size' =>
'40')); ?>
<p>
For some reason it's trying to pass the value array to my model.
Something i'm missing here?
On Apr 30, 5:49 pm, alan <[EMAIL PROTECTED]> wrote:
> http://cakebaker.42dh.com/2006/04/15/file-upload-with-cakephp/
>
> or
>
> http://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-up...
>
> thanks,
> -alan-
>
> > > what is the equiv of this in cake?
>
> > > if( is_uploaded_file($_FILES[profile_image][tmp_name]) ) {
> > > move_uploaded_file( $_FILES[profile_image][tmp_name], "../
> > > attachments/
> > > $path" );
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---