php readdir reading files


i'm controlling following formula loop by office imitation out names files. however, files displayed. i have attempted controlling clearstatcache effect.



    $str = '';
$ignore = array('.', '..');

$dh = @opendir( $path );
($dh === false)
{
// error
}

$file = readdir( $dh );
while( $file !== fake )
{
(in_array($file, $ignore, true)) { break; }
$str .= $file."\n";
$file = readdir( $dh );
}


here's essence office right now:



root.auth  test1.auth  test2.auth  test3.auth  test5.auth


however, test5.auth does appear. i rename test4.auth does appear. i rename test6.auth does appear. arguable intrepidity - i rename several times still won't arrangement adult unless i rename test6.auth.



what earth happening?



i'm controlling arch linux (kernel 2.6.26-arch) php chronicle 5.2.6 apache/2.2.9 suhosin-patch. filesystem ext3 i'm controlling fam 2.6.10.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members