> 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");