$file = 'C:\WebSiteDirectory\CarparkWeixinBackend\Dplus.apk';
if (file_exists($file)) {
header('Content-Description: File Transfer');
header('Content-Type: application/vnd.android.package-archive');
header('Content-Disposition: attachment; filename='.basename($file));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
ob_clean();
flush();
readfile($file);
exit;
}

最新文章

  1. expect用法
  2. AngularJS 初印象------对比 Asp.net MVC
  3. CodeBlocks16.01+wxWidgets3.0.2
  4. CSS3选择器(一)
  5. Noi2011 : 智能车比赛
  6. iOS - NetRequest 网络数据请求
  7. <转>lucene3.0 自学吧 四 termdocs
  8. 怎么监视跟踪一个进程(Process)中的MS Unit Test DLL的详细性能(performance)【asp.net C#】
  9. LXNetwork – 基于AF3.0封装的iOS网络请求库
  10. 自定制emoji替换系统的emoji键盘
  11. Codeforces Round #296 (Div. 2) A. Playing with Paper
  12. 二、Mysql(二)
  13. js清空数组的方法
  14. ueditor在线编辑器的简单使用-上传图片
  15. Apollo 启动脚本解析
  16. C# TTS 文字和英文
  17. JSON必知必会,浅尝辄止的整理
  18. C++笔试题总结
  19. Don’t Put View Code Into Your View Controller别把View创建的代码放在VC中(swift)
  20. 有术:DIY代理服务器

热门文章

  1. POJ 1636 Prison rearrangement DFS+0/1背包
  2. 程序包org.junit不存在和编码GBK的不可映射字符问题解决
  3. 志强处理器结尾的ES、QS、正式版的区别
  4. 【Unity】11.4 车轮碰撞体(Wheel Collider)
  5. css3实现画对号动画
  6. Android面试、开发之高手 编码规范与细节
  7. Enum,Int,String的互相转换 枚举转换
  8. HTML5学习笔记(十):CSS常用操作
  9. 菜鸟学Java(二十一)——如何更好的进行单元测试——JUnit
  10. [Windows Azure] About Affinity Groups for Virtual Network