please help me...... its not working.
the value of $_FILES['filename']['tmp_name'] is not comming form my
add.thtml page.
what's the solution for this?


On Jan 24, 9:13 pm, "Novice Programmer" <[EMAIL PROTECTED]>
wrote:
> At the face of it, every thing looks ok.. it would be great if you dont mind
> telling us the error messages you are getting.
>
> Thanks.
>
> On 1/24/08, Rgarg <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi
>
> > Please help me to upload a file. i am using this
>
> > if (move_uploaded_file($_FILES['filename']['tmp_name'],
> > $destination_path)) {
> >        $this->Session->setFlash('File is valid, and was successfully
> > uploaded.');
> >                $this->redirect('/products/index');
> > } else {
> > $this->Session->setFlash('There\'s issues! Maybe the file is too
> > big.');
> >        $this->redirect('/products/index');
> > }
>
> --
> Thanks & Regards,
> Novice (http://ishuonweb.wordpress.com/).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to