PHP 4.0 Bug #6767 Updated: filemtime not working

From: Date: Mon, 08 Jan 2001 20:48:53 +0000
Subject: PHP 4.0 Bug #6767 Updated: filemtime not working
Groups: php.dev 
Request: Send a blank email to php-dev+get-43458@lists.php.net to get a copy of this message
ID: 6767 Updated by: cynic Reported By: carlos@softsalsa.com Old-Status: Open Status: Closed Bug Type: Filesystem function related Assigned To: Comments: can you check whether this still errs with 4.0.4 or latest CVS? if so, reopen this bug report. it works for me(TM) with today's CVS mod_php4 on NT5. Previous Comments: --------------------------------------------------------------------------- [2000-09-15 01:00:52] carlos@softsalsa.com <? $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 .. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6767

« previous php.dev (#43458) next »