Re: Generate CSV File and force download
| From: | Richard Lynch | Date: | Thu, 12 May 2005 23:26:51 +0000 |
| Subject: | Re: Generate CSV File and force download | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215093@lists.php.net to get a copy of this message | ||
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 implementations of CSV output in PHP.
Some of them even get the commas and quotes correct. :-^
--
Like Music?
http://l-i-e.com/artists.htm