php bir görüntünün KB boyutunu almak

0 Cevap php

i've been googleing but all i get is getimagesize and filesize.
getimagesize dosent get the KB size just width and height which is not what im looking for.
filesize give me the message Warning: filesize() [function.filesize]: stat failed for
the file in question is 51kb .jpg file

$imgsize=filesize("http://localhost/projects/site/schwe/user/1/1.jpg");

çalışmıyor,

ben bunu nasıl başarırız?

0 Cevap