我有IE8一如既往的问题。它不会下载我通过脚本上传到服务器的rtf文件。它在数据库中保存正确Internet Explorer无法下载RTF文件中的PHP应用程序
我的下载脚本是在PHP
$outname = stripslashes($attachment[0]['dis_attach_content']);
$type = stripslashes($attachment[0]['dis_attach_type']);
$name = stripslashes($attachment[0]['dis_attach_name']);
header("Content-type:" . $type);
header('Content-disposition: attachment; filename=' . $name);
echo($outname);
exit;
这是给错误:
,你已经证明我们的代码中没有显示的上传机制。您是否尝试过输出代码正在查找的确切URL,并确保文件存在于该URL - 而不仅仅是数据库中的参考? – Luke
@BrendanBullen请参阅我的屏幕截图atached –
@Coulton文件保存数据库中正确此错误只给到RTF文件和IE唯一的其他所有文件类型和做工精细 –