0
我有這樣的代碼。保存導出CSV到所需的位置 - PHP
header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=\"$filename\"");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Pragma: public");
現在,這被保存在我的桌面上。如果我想將xls文件保存在D:/ xls/ 那麼如何添加代碼。 請幫幫我。
謝謝 - 阿里漢