Hello,
I am a beginner trying to learn CakePHP. I want to ask how to do the
following:
1. Prevent a controller action from rendering anything
2. Instruct controller action to output binary data (i.e. letting users
download files) from an action.
I assume this will be just setting header('Content-type:
'.$var['MyFileModel']['type']); But I assume Cake would have a
higher abstraction over this method.
Your help will be greatly appreciated.
Thanks in advance.
Alexis.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---