since it's business logic, you can make a component for that
(UploadComponent) and include it in your controller(s) ( var
$components = array('Upload') )

in addition, for simple fonctions, you can add them in /app/config/
bootstrap.php. This file is loaded at the start of the request, and
its content is available almost everywhere.

On 16 août, 10:42, rtanz <[EMAIL PROTECTED]> wrote:
> hi i am wondering where to put some functions which are independent
> from the models in my site. for example i have a file upload function
> which does not affect anything else but is just used to upload files
> into a folder on the server without saving anything to the database.
> thanks


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