header ( "Pragma: public" );
header('Content-Type: application.force-download');
header ( "Cache-Control: must-revalidate, post-check=0, pre-check=0" );
header('Content-Disposition: attachment; filename='.$fname);
header ( "Cache-Control: private", false );
header ( "Content-Transfer-Encoding: binary" );
echo(file_get_contents($file_path));用以上代码在firefox下执行,下载的PDF文件可以打开,但是用360浏览器等其他浏览器下载并且打开PDF的时候,就报错了(word,excel都正常),求高人指点1!!!!