Re: Returning file for download

2009-09-09 Thread Benedikt R.
This works much better! Thank you! On 8 Sep., 07:03, Braindead markus.he...@gmail.com wrote: You could also have a look at Cakes media views:http://book.cakephp.org/view/489/Media-Views --~--~-~--~~~---~--~~ You received this message because you are subscribed

Returning file for download

2009-09-07 Thread Benedikt R.
Hi! Is it possible, to return the content of a file instead of any html? for example i have the url: http://localhost/documents/download/download/433/file.pdf This is just a routing thing. Read it as: http://localhost/documents/download/download/record_id/fileName This page normally renders

Re: Returning file for download

2009-09-07 Thread Benedikt R.
Solved: http://www.weberdev.com/get_example-4182.html On 7 Sep., 21:35, Benedikt R. bened...@rossgardt.de wrote: Hi! Is it possible, to return the content of a file instead of any html? for example i have the url:http://localhost/documents/download/download/433/file.pdf This is just a

Re: Returning file for download

2009-09-07 Thread Braindead
You could also have a look at Cakes media views: http://book.cakephp.org/view/489/Media-Views --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to