PHP 文件下载 小布 发表于2020-04-02 浏览981 评论0 // 下载文件 public static function downloadFile($filename,$fileinfo){ ob_end_clean();//清除缓存区空白内容 ob_start();//开启缓存 header( "Content-type:application