Hi,
i try to give my script headers so the output text would be downloaded in
the client's browser and not displayed. But it doesn't work at all in my IE
6 and Opera.
<?
header("Content-Type: application/octet-stream");
header("Content-Length: 5");
header("Content-Transfer-Encoding: binary");
header("Content-Disposition: attachment; filename=\"game data.txt\"");
echo "hello";
?>
I have an Apache 1 installed on my system, can it be that it is
misconfigured and sends the headers in a wrong way? How can i change this?
Help please,
bye,
Frank
i try to give my script headers so the output text would be downloaded in
the client's browser and not displayed. But it doesn't work at all in my IE
6 and Opera.
<?
header("Content-Type: application/octet-stream");
header("Content-Length: 5");
header("Content-Transfer-Encoding: binary");
header("Content-Disposition: attachment; filename=\"game data.txt\"");
echo "hello";
?>
I have an Apache 1 installed on my system, can it be that it is
misconfigured and sends the headers in a wrong way? How can i change this?
Help please,
bye,
Frank
Comment