NYCPHP Meetup

NYPHP.org

[nycphp-talk] Exporting csv

drydell at att.net drydell at att.net
Tue Sep 21 17:24:48 EDT 2004


> I'm trying to use the header() php function to output a csv from the results
> of a mysql query. There was a post on here not long ago about forcing downloads
> of a file on the filesystem. Is it possible to force a download of a string? 
> 

use header("Content-Type: application/force-download");



More information about the talk mailing list