> I want my action to send a content-disposition header to make the > browser open the file download dialog rather that displaying the data. > I order to do so I need cakephp to bypass all layouts, just write the > data to the output buffer and than send the appropriate headers > (content-disposition, content--type, etc). > > Is that possible with cakephp or do I have to write a custom php > script?
I've been working on a very simple (as in it only has 2 methods thus far!) component for files, should do what you're after.. http://cakephp.org/pastes/show/86edeeb3c1eb66eb9004b4eb1fceb7ec hth jb -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---