$csvFileName = "CSV数据.csv";
$csvContent = "qwe,qwe,qwe,qwe,qwe,qwe,qwe \n";
header("Content-Type: application/vnd.ms-excel; charset=GB2312");
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Dispositi
[php] 代码片段---csv 文件 header 头部信息
最新推荐文章于 2024-05-26 00:15:00 发布