$path="/xeno/templates/designs/aff01/inc-gamecontent.html"; 
改成相对路径试试就知道了。

解决方案 »

  1.   

    先访问你的xeno/templates/designs/aff01/inc-gamecontent.html看能不能访问吧。
      

  2.   

    这个文件是能访问的,我用fopen和readfile试了都行的。到底是哪儿的问题呀?会不会有关服务器里面的设置问题呀??帮忙了,各位!
      

  3.   

    你用Echo+break,去调试一下看看,看看是哪一部没有执行?
      

  4.   

    后来看一位仁兄写的
    header("Pragma: public");
    header("Expires: 0");
    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header("Content-Type: application/x-php");
    header("Content-Disposition: attachment; filename=$dest;" );
    header("Content-Transfer-Encoding: binary");
    header("Content-Length: ".filesize($file));
    readfile($file);
    用了挺好的,已经ok了,
    但我不知道上面一些参数究竟是什么意思,望有高手指点。我再过二十四小时就结帖望赐教