otuatail Posted October 11, 2007 Share Posted October 11, 2007 Can anyone help on reading file atributes. I have web pages that have at the bottom Page Last Updated 4th October 2007. Currently this has to be done by hand, but it would be better if the date stamp could be read and placed there automaticaly. Any sugestions Link to comment https://forums.phpfreaks.com/topic/72755-solved-page-last-updated/ Share on other sites More sharing options...
Orio Posted October 11, 2007 Share Posted October 11, 2007 You are looking for filectime(). Check the example in the link I've attached, it's exactly what you need. Maybe you'll want to mess a bit with the format, for that check out date(). Orio. Link to comment https://forums.phpfreaks.com/topic/72755-solved-page-last-updated/#findComment-366937 Share on other sites More sharing options...
otuatail Posted October 11, 2007 Author Share Posted October 11, 2007 Thanks for that great help. Desmond. Link to comment https://forums.phpfreaks.com/topic/72755-solved-page-last-updated/#findComment-366966 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.