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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/89634-page-last-updated/#findComment-459283 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.