title: php get the KB size of an image
body: <p>i've been googleing but all i get is getimagesize and filesize.<br>
  getimagesize dosent get the KB size just width and height which is not what im looking for.<br>
  filesize give me the message <strong><em>Warning: filesize() [function.filesize]: stat failed for</em></strong><br>
  the file in question is 51kb .jpg file  </p>
  
  <pre><code>$imgsize=filesize("http://localhost/projects/site/schwe/user/1/1.jpg");
  </code></pre>
  
  <p>does not work,</p>
  
  <p>how do i accomplish this?</p>