I read the manual that filesize() is able to calculate file size from remote file.
However, when I try to do that with snippet below. I got error PHP Warning: filesize(): stat failed for http://someserver/free_wallpaper/jpg/0000122_480_320.jpg in /tmp/test.php on line 5
İşte benim parçacığını bulunuyor:
$file = "http://someserver/free_wallpaper/jpg/0000122_480_320.jpg";
echo filesize( $file );
Turns out, I can't use HTTP for filesize(). Case close. I'll use snippet here as a work-around solution.