Hello,
Trying to get a php script to display when a web page was last modified.
My code is below, i'm getting a last modified date of dec. 31 1969 which is
wrong for one, and does not change if i modify the resulting file. The code
itself is in an include file, a footer file, which will be included at the
bottom of every page. Suggestions?
Thanks.
Dave.
<?
echo "This file was last modified: ";
$temp = pathinfo($PHP_SELF);
echo strftime("%A %B %d, %Y", filemtime($temp["basename"]));
?>