Hi
For some reason this works for me, can even download .html files
$headertxt = "Content-Disposition: attachment; filename=\"".$filename."\"";
header("Content-Type: application/force-download");header($headertxt);
Tom
At 12:09 AM 12/04/01 +0500, Vikram Vaswani wrote:
>Hi!
>
>I have a script wh
Hi!
I have a script which sends the following headers in order to get the
client to display a "file save" prompt.
> header ("Content-Type: application/octet-stream");
> header ("Content-Disposition: attachment; filename=$filename");
> readfile($filename);
This works well on Netscape/lynx. Ho
2 matches
Mail list logo