Re: [PHP] Generate CSV File and force download

2005-05-12 Thread Richard Lynch
On Thu, May 12, 2005 6:54 am, Shaun said: > Is it possible to create a csv file from a query and force the user to > download it by outputting it to the browser, I dont want it saved on the > server! fputcsv('php:/stdout', ...) should work, I think. If not, there are only a few dozen implementat

RE: [PHP] Generate CSV File and force download

2005-05-12 Thread Jay Blanchard
[snip] Is it possible to create a csv file from a query and force the user to download it by outputting it to the browser, I dont want it saved on the server! [/snip] Just make sure that your mime-type is set to something like octet stream when you creat the csv file -- PHP General Mailing List

[PHP] Generate CSV File and force download

2005-05-12 Thread Shaun
Hi, Is it possible to create a csv file from a query and force the user to download it by outputting it to the browser, I dont want it saved on the server! Thanks for your advice -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php