note 19033 deleted from function.filemtime by tomsommer

From: Date: Wed, 01 Sep 2004 17:29:46 +0000
Subject: note 19033 deleted from function.filemtime by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-75866@lists.php.net to get a copy of this message
Note Submitter: f at b dot cx ---- laurent.pireyn@wanadoo.be wrote on 27-Sep-2001 05:00: > If you use filemtime with a symbolic link, you will get the > modification time of the file actually linked to. > To get informations about the link self, use lstat. It seems that this behaviour has changed. According to my test page (http://www.planlos.de/test.php), filemtime(directory) does return the last modification time of the directory itself, not of the newest file in it. Too bad - i just wanted to use it for setting a "recently changed" icon in front of the directory link :-) Any pointer to an alternative way appreciated.

« previous php.notes (#75866) next »