Date: 09/15/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6518 Updated: gettext error in configure script"
- Previous message: Derick Rethans: "[PHP-DEV] test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6518 Updated: gettext error in configure script"
- Previous message: Derick Rethans: "[PHP-DEV] test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

