PPC 5 PIE https下载文件名强制指定为scirpt文件名(http则没问题)
同在用PPC5 PIE(MSIE 4.01),同样的下载(php script: download_test.php)
header("Pragma: public");
header("Expires: 0");
header("Content-type: application/octet-stream");
header("content-type: application/force-download");
header("Content-Disposition: attachment; filename=\"hi.zip\"");
readfile("/var/www/hi.zip")
http下载文件,没有问题
https下载就不行,其下载文件名不是hi.zip,而是download_test.php,点save as后,type为php类型,且不能更改。
不知道是什么原因?