header("Content-type:application/octet-stream");
header("Accept-Ranges:bytes");
header("Content-Type:application/force-download");
header("Content-Disposition:inline;filename=".$filename);
header("Accept-Length:".filesize($File));
@readfile($File);//读取文件到输出缓存

相关文章:

  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-06-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案