问题出在语句
------------------------------------
        header("Pragma: no-cache");
        header("Expires: 0");
------------------------------------
这样的语句本来只是要代理服务器和浏览器禁止缓存源文件,可是IE5.0却理解有问题(no-cache的影响好像不大,问题主要出在Expires:0)......

解决方案 »

  1.   

    这样写试试:
    header('Content-Disposition: attachment; filename='.$filename);
    header("Content-type: application/octetstream");
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    header("Expires: 0");
      

  2.   

    注意運行下列函數前不能啓動session.
    不能有header 語句輸出
    function send($filename){
    //#fix bugs for download timeout by walksing 2002/9/27
    set_time_limit(13049303775);
    $fd = fopen($filename, "rb");
    $body = fread($fd, filesize($filename));
    fclose($fd); $filename = basename($filename);
    $type = "application/octet-stream";
    header("Content-Type: $type");
    header("Content-Disposition: attachment; filename=$filename");
    echo($body);
    }
      

  3.   

    不好意思,我把这给忘了,这个问题我已解决,很简单,只要在最前面加一句:
    header("Cache-control: private");就可以了,不过我还是很感谢大家!