Hi All,
I'm trying to get a forced download to work with IE 6.0.
The headers I'm using so far are:
header("Cache-Control: private");
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Disposition: attachment; filename=$file_ name;");
header("Content-Transfer-Encoding: binary");
header("Content-Length: $file_size");
I am using a session. The download is based on form summitted data.
When IE trys to download the file I get:
Can not download: download.php
Any ideas?
Thanks,
Brian
I'm trying to get a forced download to work with IE 6.0.
The headers I'm using so far are:
header("Cache-Control: private");
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Disposition: attachment; filename=$file_ name;");
header("Content-Transfer-Encoding: binary");
header("Content-Length: $file_size");
I am using a session. The download is based on form summitted data.
When IE trys to download the file I get:
Can not download: download.php
Any ideas?
Thanks,
Brian
Comment