标签:log cache accept ges osi highlight head public 列表
php将内容保存到txt文件中,并自动弹出下载文件窗口的方法:
$id=array(‘我爱学习网http://www.5ixuexiwang.com‘,‘汇享在线工具箱http://tool.huixiang360.com‘); header("Content-type:application/octet-stream"); header("Accept-Ranges:bytes"); header("Content-Disposition:attachment;filename=".‘id列表_‘.date("YmdHis").".txt"); header("Expires: 0"); header("Cache-Control:must-revalidate,post-check=0,pre-check=0"); header("Pragma:public"); echo implode(",",$id);
标签:log cache accept ges osi highlight head public 列表
原文地址:http://www.cnblogs.com/lqylqy/p/6713261.html