php下载

来源:互联网 发布:语音识别算法视频教程 编辑:程序博客网 时间:2024/05/17 02:27
header("Content-type:  application/octet-stream ");header("Accept-Ranges:  bytes ");header("Content-Disposition:  attachment;  filename= aaa.csv");echo "ID,Original Url,AffId,Program Id,Site,Created,Out Url\n";
三句header下面的所有echo,都会被捕捉到,并存入下载缓存。
0 0
原创粉丝点击