On Jul 19, 2006, at 4:23 PM, srini wrote:
> <snip> > This cakephp method does not work. It is prefixing '\r\n' charecters > at the bigining of the downloaded file. So I cannot open image, pdf, > doc file. > I wasted a lot of time trying to figure out this problem. > Please suggest a work around. I really appreciate your help. You might try to add: $this->autoRender = false; To the action. You might also want to set the layout for the action to something that is empty (such as the Ajax layout) just in case by doing $this->layout = 'ajax'; See if that helps any. -- John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
