note 866 modified in function.filemtime by irchtml

From: Date: Wed, 25 Feb 2004 14:10:52 +0000
Subject: note 866 modified in function.filemtime by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65715@lists.php.net to get a copy of this message
The above code works fine if you place it on each page you want a date stamp on. I've found that if you place a reference such as filemtime(__FILE__) in an included or required file, that the modification time of the inherited file will be returned, not the time of the file that did the ineriting. --was-- The above code works fine if you place it on each page you want a date stamp on. I've found that if you place a reference such as <pre>filemtime(__FILE__)</pre> in an included or required file, that the modification time of the inherited file will be returned, not the time of the file that did the ineriting. http://www.php.net/manual/en/function.filemtime.php

« previous php.notes (#65715) next »