不忘初心 牢记使命
网络强国 科技创新
php输出txt并下载实现代码如下:
$id=array('深圳市互联网学会http://www.isz.org.cn','hello world'); header("Content-type:application/octet-stream"); header("Accept-Ranges:bytes"); header("Content-Disposition:attachment;filename=".'列表_'.date("YmdHis").".txt"); header("Expires: 0"); header("Cache-Control:must-revalidate,post-check=0,pre-check=0"); header("Pragma:public"); echo implode(",",$id);
咨询热线
地址:深圳市福田区南园路68号上步大厦18A 特别声明: 本会所有证书与官网一致为准。