php 导出数据并提示下载信息
header(“Pragma: public“);header(“Expires: 0“);header(“Content-Type: application/force-download“);header(“Content-Type: application/download“);header(“Content-Disposition: attachment;filename=$fn“);header(“Content-Transfer-Encoding: binary “);//二进制echo "内容";exit();
页:
[1]