Hello Farjad,

There is a file uploading component in the cakephp.

Please check the following links,

http://bakery.cakephp.org/articles/view/file-upload-component-w-automagic-model-optional

http://www.reversefolds.com/articles/show/filehandler


On Mon, Jul 27, 2009 at 9:02 PM, brian <[email protected]> wrote:

>
> Farjad, you should read this:
>
> http://www.php.net/manual/en/features.file-upload.php
>
> The easiest thing to do is to debug($this->data) in your action so you
> can see how the array is laid out (and if it's correct).
>
> The file is probably in /tmp and you'll still need to move & save the
> file from there.
>
>
> On Mon, Jul 27, 2009 at 9:02 AM, Farjad<[email protected]> wrote:
> >
> > i found $form->file() method to upload a file but i dont know how to
> > specify the path to which the file should b uploaded!!!!!
> >
> > i call the method, i specify the path of file to be uploaded then
> > submit form but dont know where file goes!!!!
> >
> > can anyone help and explain the process of file method and parameters
> > that it takes.........????
> > >
> >
>
> >
>


-- 
Thanks & Regards,
Vijayk.
Co-founder (www.weboniselab.com)

"You Bring the Dreams, We'll Bring the Means"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to