如何确保文件存在于服务器上并在 URL 上找出其大小,而无需先下载文件
$url = 'http://site.zz/file.jpg'; file_exists($url); //always is false filesize($url); //not working
请帮助任何一个有效的例子
php
php ×1