Re: Generate CSV File and force download

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux