Menu
Hi. I am hoping someone can point me in the right direction:
I using php to print last modified date on each of my pages. On each page, I have:
[FONT=Courier New]
<php? $last_modified = filemtime(“FILENAME.php”); print “Last modified ” . date(“l, dS F, Y “, $last_modified); ?>[/FONT]
I’d rather use an include here, so that if I want to change the format, I can do it in one place. In the include file, I guess I would need to create a variable inside filemtime() that represented the php file calling the include. Is this possible? If so, how? Thanks in advance.