Re: Generate XML using controller and force it to sent as download

2014-01-02 Thread Reuben
It can be done with regular PHP, so it can be done with CakePHP. The MediaView is a view class uses specifically for downloading files, and media, rather than viewing in the browser. However, this usually requires that the file is locally available on the disk, and this isn't happening in your

Re: Generate XML using controller and force it to sent as download

2014-01-02 Thread Willem
Still haven't figured this out. Is this at all possible with CakePHP? I can't imagine it would not be possible. thanks On Thursday, December 19, 2013 5:16:50 PM UTC+1, Willem wrote: > > Hi, > > Goal: I have a button on a page. When user clicks it should generate a XML > file and make it down