note 39812 deleted from function.getlastmod by nlopess

From: Date: Sun, 13 Jun 2004 07:56:10 +0000
Subject: note 39812 deleted from function.getlastmod by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71014@lists.php.net to get a copy of this message
Note Submitter: Christian@solid-webworks.de ---- If getlastmod() doesn't work, there is another possibility to output the last modification. You can use the function filemtime() (description: http://de.php.net/manual/de/function.filemtime.php (german)), which returns the timestamp of the last modification. e.g., you may use this: <?php // outputs s.th. like this: 11 February 2004 echo date("d n Y", filemtime("index.php")); ?> I found this out as I tried to use getlastmod() but it didn't work... Have a lot of fun

« previous php.notes (#71014) next »