HI all,
I have a problem during download file with Internet Explorer 6.
I use this script:
header('Pragma: public');
header('Expires : 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/octet-stream');
//header('Content-Type: application/force-download');
header('Content-Disposition: attachment; filename="'.$fi lename.'"');
header('Content-Transfer-Encoding: binary');
header('Content-Length: ' . filesize($dfile ));
In same case, this open a dialog box asking if open or save a file
colled 'index.php' and not the correct file name
and the description file is 'php file'
May you help me?
thanks in advance
Fabio
I have a problem during download file with Internet Explorer 6.
I use this script:
header('Pragma: public');
header('Expires : 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/octet-stream');
//header('Content-Type: application/force-download');
header('Content-Disposition: attachment; filename="'.$fi lename.'"');
header('Content-Transfer-Encoding: binary');
header('Content-Length: ' . filesize($dfile ));
In same case, this open a dialog box asking if open or save a file
colled 'index.php' and not the correct file name
and the description file is 'php file'
May you help me?
thanks in advance
Fabio
Comment