From: [EMAIL PROTECTED]
Operating system: Linux Slackware, kernel 2.4.16
PHP version: 4.1.0
PHP Bug Type: Directory function related
Bug description: getlastmod() returning file access time, not modification time
I've just upgraded to PHP 4.1.0 and I have code on my site (Linux/Apache)
that displays when the page was last modified:
<? echo(date("d-M-Y H:i:s", getlastmod() )); ?>
This used to work like a champ. However, I noticed after upgrading that
the date/time stamp it displays is that of the last _access_, not
modification.
Thus, I'm *expect* the date as shown by:
$ ls -l index.php
Instead, I'm *seeing* the date as shown by:
$ ls -lu index.php
I didn't notice it in the bug-fix list for PHP 4.1.1. I didn't see it in
the PHP Reported Bug List.
-Walt Stoneburner,
[EMAIL PROTECTED]
--
Edit bug report at: http://bugs.php.net/?id=14837&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]