At 12:11 AM -0400 6/14/10, David Mehler wrote:
I've got what is probably a simple question. I've got a site with a
footer include file. I want to have a section that displays the last
time the page was modified. So for example say the index.php was last
modified today and another page  was modified two days ago. When the
include is run on the other page it says something like this page was
last modified and it would be two days ago, but for the index file I
get this page was last modified and today's date.


A bit late but try this:

echo "Last modified: " . date ("F d Y H:i:s.", getlastmod());




PHP General Mailing List (
To unsubscribe, visit:

Reply via email to