Re: [Proto-Scripty] Re: File output

2009-12-12 Thread bill
speedpac...@gmail.com wrote: Hi, No need to open a new window - if it starts downloading you'll be left with an empty window ;) Just do an HTTP call to the server and your original page will remain in the window if you have the correct headers going out from your PHP... Would you be so

Re: [Proto-Scripty] Re: File output

2009-12-12 Thread bill
speedpac...@gmail.com wrote: Hi, No need to open a new window - if it starts downloading you'll be left with an empty window ;) Just do an HTTP call to the server and your original page will remain in the window if you have the correct headers going out from your PHP... Interestingly

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread Alex McAuley
Ajax cannot process a file download in the same way it cannot process a file upload... You have to output the link and make the user click it Alex Mcauley http://www.thevacancymarket.com - Original Message - From: speedpac...@gmail.com To: Prototype script.aculo.us

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread Brian Williams
you would be exactly right. and to protect from hot linking then check the http referrer or a session variable and if that fails then redirect to a landing page. you want to investigate the following header info //cache controlling header(Cache-Control: public); //force download

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread Alex McAuley
I'm not often wrong but i am right this time !!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Brian Williams To: prototype-scriptaculous@googlegroups.com Sent: Friday, December 11, 2009 2:52 PM Subject: Re: [Proto-Scripty] Re: File output you

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread bill
speedpac...@gmail.com wrote: he replied to my mail :p I guess we're all right this time - what a wonderful world it is ; I haven't replied at all, until now. On Dec 11, 4:08 pm, Alex McAuley webmas...@thecarmarketplace.com wrote: I'm not often wrong but i am right this time !!!

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread Alex McAuley
Not always m8 but thanks for the confidence! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Friday, December 11, 2009 9:38 PM Subject: Re: [Proto-Scripty] Re: File output speedpac