RE: [PHP] content disposition and internet exploder

2001-12-02 Thread Jason Murray
I am attempting to allow users to download csv files that are created dynamically from a database. In order to do so I use: header( Content-Disposition: attachment, filename=query.csv); [snip] Has anyone had success in getting IE to use the correct filename when downloading dynamically

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Rasmus Lerdorf
You could just trick it with a URL like: http://your.domain.com/script.php/query.csv IE will think your script is called query.csv while Apache is smart enough to run script.php. -Rasmus On Sun, 2 Dec 2001, Fred wrote: I am attempting to allow users to download csv files that are created

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
LOL Of course it worked. Open Source outwits MS yet again. Fred Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You could just trick it with a URL like: http://your.domain.com/script.php/query.csv IE will think your script is called query.csv

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
That works fine in IE but does not work in NS, undoubtedly because it does not conform to the RFC. Fred Jason Murray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am attempting to allow users to download csv files that are created dynamically from a