c_pattle Posted March 6, 2011 Share Posted March 6, 2011 I'm wanting to write a script that will automatically generate a sitemap for my website but I'm wondering how to find out when each page was last modified. Is there any easy way to do this using PHP? Thanks for any help. Link to comment https://forums.phpfreaks.com/topic/229786-php-last-modified/ Share on other sites More sharing options...
Pikachu2000 Posted March 6, 2011 Share Posted March 6, 2011 filemtime() Link to comment https://forums.phpfreaks.com/topic/229786-php-last-modified/#findComment-1183647 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.