This tutorial helped me a lot! -> 
http://www.keithmedlin.com/2008/01/cakephp-12-file-upload/

It moves the files on the server and also creates a db record . . .

I modified the section in the model that gets the path and moves the
file to reflect the directory structure i wanted . . -> WWW_ROOT.'/
files/'."$fileName"

Hope this is a good start position.

rich

On Aug 19, 4:18 pm, bartez <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I've scouted both here and the bakery etc and have had no success in
> finding the answer to my problem.
>
> I would like to upload an image and save it in a file system (not a
> database).
>
> I would like the structure to be as follows
>
> img
>     / items
>         / groups
>             /id
>                 /each individual image here
>
> I've done this before in normal php but I'm sure there must be a cake
> way!!
>
> Thanks for your help in advance.
>
> Alex
--~--~---------~--~----~------------~-------~--~----~
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