Bug #10363: filemtime() cannot stat the minutes of a file.
| From: | pj at waskiewicz dot org | Date: | Tue, 17 Apr 2001 16:54:02 +0000 |
| Subject: | Bug #10363: filemtime() cannot stat the minutes of a file. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51810@lists.php.net to get a copy of this message | ||
From: pj@waskiewicz.org
Operating system: Linux 2.2.12-20
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: filemtime() cannot stat the minutes of a file.
<?
clearstatcache();
$modified = date("F j, Y, g:i a",
filemtime("/home/pj/www/scripts/photos.html"));
print $modified;
?>
This uses the same configuration as another Linux box running 2.2.16 and another box running Solaris
8, where it works on both. It will stat the date, hour, and seconds properly, but cannot stat the
minutes. Just prints 00 all the time.
--
Edit Bug report at: http://bugs.php.net/?id=10363&edit=1