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
[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
2 matches
Mail list logo