download file
来源:互联网 发布:淘宝助理关联店铺 编辑:程序博客网 时间:2024/06/05 06:03
<?// set head
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-Disposition: attachment;filename=$name");
header("Content-Transfer-Encoding: binary ");
//get file contents
$tmp=file_get_contents('../pdf/'.$name);
//out put file
echo $tmp;
exit;
?>
- download file
- .NET download file
- NSURLConnection Download File
- Http Download File
- OpenFile Download File
- HTTP file download
- NSURLConnection Download File
- download file in C#
- gwt download file
- httpClient download file(爬虫)
- java download file
- MVC - File download action
- SVN File Download
- Linux download file
- redis file download
- File download and Web Open
- CuteNews Arbitrary File Download AllVersion
- CSharp download (html, binary file)
- Linux系统信息查看命令全集
- I2S音频标准 && 声音声道 && 耳机插入识别
- (转)如何解决vmware虚机无法通过主机防火墙上网的问题
- SAP Client Copy 过程
- R 读入数据+曲线图+linear regression
- download file
- RHCE学习笔记:RH133 2.5-设定网络
- 多线程MFC
- 编写操作数据库的JAVA程序时需要的连接MySQL数据库的JDBC连接包mysql-connector-java-5.1.10.zip怎么安装
- MyEclipse 下配置cvs
- 2010
- 简要介绍SQL Server 2008新的事件处理系统
- oracle PL-SQL学习案例(一)
- socket 阻塞与非阻塞 同步与异步