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
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
Hi,
Goal: I have a button on a page. When user clicks it should generate a XML
file and make it download (instead of opening in browser window).
Cake version: 1.3
So I create a HTML link like this:
link( __('Generate XML file', true),
> array('action'=>'generateXMLFile','ext'=>'xml'),
> array