phpretard Posted February 5, 2008 Share Posted February 5, 2008 Using PHP ... What is the most simple way to display when a page was last updated? I can think if a million ways but but I am looking for the most common and most simple. Any suggestions? Link to comment https://forums.phpfreaks.com/topic/89634-page-last-updated/ Share on other sites More sharing options...
ratcateme Posted February 6, 2008 Share Posted February 6, 2008 $last_modified = filemtime("example7.php"); print("Last Modified "); print(date("m/j/y h:i", $last_modified)); change the date to how you want it Scott. Link to comment https://forums.phpfreaks.com/topic/89634-page-last-updated/#findComment-459283 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.