wendu 发表于 2017-4-11 12:01:42

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]
查看完整版本: php 导出数据并提示下载信息