From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to