On Sat, 6 Dec 2003, Geoffrey Thompson wrote:
> header("Content-Type:application/csv");
> header("Content-Disposition:attachment; filename=downloadFile.csv");
> header("Content-Transfer-Encoding:binary");
> fpassthru($fp);
>
> This works great in Mozilla and IE 6 via http, and it works in M
I posted this once under another subject, but didn't get any responses. I'm
stuck on this, and could really use some help.
I have the following php code for downloading a file to the user via the
browser:
// Open csv file.
$fp = fopen("fileOnServer.csv", "r");
// Set headers for csv downl
2 matches
Mail list logo