title: filesize() [function.filesize]: stat failed for LinqBridge.dll in
body: <p>i write a script to list my file from Update directory with this option:</p>
  
  <p>file-name file-hash file-size</p>
  
  <p>why i get this error:</p>
  
  <pre><code>Warning: filesize() [function.filesize]: stat failed for LinqBridge.dll in      C:\xampp\htdocs\update.php on line 15
  </code></pre>
  
  <p>my php cod:</p>
  
  <pre><code>&lt;?php
    if(isset($_GET['action']) and ($_GET['action']=="list"))
   {
      $myDirectory = opendir("./Update/");
      while($entryName = readdir($myDirectory)) {
  $dirArray[] = $entryName;
   }
      closedir($myDirectory);
      $indexCount = count($dirArray);
      sort($dirArray);
     for($index=0; $index &lt; $indexCount; $index++) {
      if (substr("$dirArray[$index]", 0, 1) != "."){
      echo $dirArray[$index]."&amp;nbsp;";
      echo @hash_file('md5',$dirArray[$index])."&amp;nbsp;";
      echo filesize($dirArray[$index])."&amp;nbsp;";
  }
   }
   }
    ?&gt;
  </code></pre>