Check this, it may help you out:

http://groups-beta.google.com/group/cake-php/browse_thread/thread/3363979513
f6297b/18d4669098d6d90d?lnk=gst&q=&rnum=14#18d4669098d6d90d

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de alexis
Enviado el: Martes, 05 de Diciembre de 2006 11:38 p.m.
Para: Cake PHP
Asunto: How do you instruct a controller not to render 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.


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