You could use the fileuploader component from my github repo, then all you have 
to do is insert the returned file path to your database. Check : 
https://github.com/malikov/cakephp2.0-image-upload

Hope this helps

VM 

Sent from iPhone smartphone

On 2012-09-26, at 9:32 AM, Paulo Henrique <[email protected]> wrote:

> How are you guys!
> Well, the thing is, I have to implement a file upload where the uploaded file 
> should be written to the database. Already done with pure php, but would like 
> to do with cakephp, since the whole application is developed with him. If 
> someone can lend a hand, I do not want code, just clarify a little how to 
> cakephp. Thank you!
> 
> ps.:sorry for my bad english :P
> -- 
> Like Us on FacekBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>  
> --- 
> 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].
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>  
>  

-- 
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to