title: filesize() not showing actual size
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9163456/php-get-the-size-of-a-directory">PHP – get the size of a directory</a>  </p>
  </blockquote>
  
  
  
  <p>I have 5 files in a directory and it shows file size = 4096 but when i delete 4 files and there is only 1 file left, it still shows the same size.
   that is how i am getting the file size</p>
  
  <pre><code>echo filesize("user_files/".$uid."/".$rs['DirectoryName']);
  </code></pre>