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 [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