Hi Folks.
I have a page on which I force the browser to open a download-dialogue as follows:
if (file_exists($path))
{
$fp = fopen ($path, "rb");
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=$filename");
header("Pragma: no-cache");
header("Expires: 0");
fpassthru ($fp);
}
In $path and $filename are appropriate values...
So far, the download works perfect, but if i choose in the dialogue to open the file, the file can not be found...
I am using IE 6.
Can anybody help, please???
Thanks in advance,
Al.