To make my problem more clear:
When i run filemtime() in a while loop on an array of files:
$localDir = opendir("/Users/jslootbe/Sites/blindtheory");
while (false !== ($file = readdir($localDir))) {
echo $file." ".filemtime($file)."<br>";
$i++;
}
closedir($localDir);
i get this error:
Warning: stat failed for band.php (errno=2 - No such file or directory) in /Users/jslootbe/Sites/test.php on line 33
the file does exist however, because if i do:
echo filemtime("/Users/jslootbe/Sites/blindtheory/band.php");
it does print out the correct time code.
Does any of you know why this is? is this a bug in filemtime()?
TIA,
Jule