Reply to Re: [PHP] Generate CSV File and force download

Your name:

Reply:


Posted by Richard Lynch on 05/13/05 02:26

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация