[PHP-DEV] PHP 4.0 Bug #6767: filemtime not working From: carlos <email protected>
Date: 09/15/00

From: carlos <email protected>
Operating system: W98
PHP version: 4.0.2
PHP Bug Type: Filesystem function related
Bug description: filemtime not working

<?
$handle=opendir('.');
while (($file = readdir($handle))!==false) {
        $filedate = date("d-m-Y H:i:s",filemtime($file));
        echo $filedate."<br>";
}
closedir($handle);
?>

filemtime returns 0 for all files on a directory except for . and ..

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>