php 获取远程文件大小

$file = file_get_contents('https://xxx.apk'); // 运行一次太费时间了
$size = strlen($file);
posted @ 2021-09-17 16:22  TBHacker  阅读(50)  评论(0编辑  收藏  举报