I discovered something yesterday in the cookbook which is relevant
here, and awesome as well.  I can't believe I didn't see it before.

Media Views
http://book.cakephp.org/view/489/Media-Views

Enjoy

On Oct 12, 2:52 pm, Orhan Toy <[EMAIL PROTECTED]> wrote:
> Hi
>
> There a plenty of guides about uploading files to a database or to the
> public folder with Cake. But what if I just want to upload files to
> private folder? One solution could be to make my own folder somewhere
> in the root but is there a predefined directory for this purpose?
>
> What I mean about private is that you can't access the file directly
> via an url but instead it is the controller's job to get the file from
> the "private" folder and serve it to the user.
--~--~---------~--~----~------------~-------~--~----~
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