I have just moved a web application to a windows server and having some problems. One of it is - application stores list of names of files in a database table. when a files is requested for download it is sent to output by sending proper headers (depending upon mime type and then a readfile("document location/filename.extension");
该公司在火ox中进行罚款,但如果我试图在EE下载,它就会扔 throw。
IE can not dowload this document from www.mysite.com .. IE was unable to open this Internet site. The requested file is either unavailable or cannot be found. Please try again later.
由于在以前的服务器(非窗口)上打工,我试图印刷文件地点,并读像C:Apache/htdocs/FILENAME.ext,我猜想这一C:/是在电离层电离层中造成问题,而不是燃烧吗?
我如何在独立学校工作?
增 编
<>>>>>
I have got it working by adding some more headers among others .. I think first 2 are more important for IE or so (atleast working for me for now :)
header( Cache-Control: must-revalidate, post-check=0, pre-check=0 );
header( Pragma: public );
header( Content-Length: . filesize($file));
ob_clean();
flush();