Header("Content-type: application/octet-stream");---------------------
Maybe because it is a stream, not a file.

解决方案 »

  1.   

    哦是 stream 的问题吗???
    那该如何解决呢??
      

  2.   

    是我的header设置的有问题吗??
      

  3.   

    Header("Content-type: application/x-" . end(explode('.', $filename)) );
      

  4.   

    不行,我试过了,好想不是octet-stream的问题呀。
      

  5.   

    我在想会不会是因为我用了 rawurlencode函数,对文件的文件名进行了编码,使的文件的找不到呢???
    请各位朋友帮帮忙,想想办法。