php_joe Posted July 28, 2010 Share Posted July 28, 2010 Hi, Is there any way to edit the last modified date of the files on my web server? Thanks, Joe Link to comment https://forums.phpfreaks.com/topic/209061-change-a-files-last-modified-date-using-php/ Share on other sites More sharing options...
dezkit Posted July 28, 2010 Share Posted July 28, 2010 don't think it's possible with php.. Link to comment https://forums.phpfreaks.com/topic/209061-change-a-files-last-modified-date-using-php/#findComment-1091914 Share on other sites More sharing options...
Pikachu2000 Posted July 28, 2010 Share Posted July 28, 2010 You should be able to do it with exec() and touch, if it's a linux server. Link to comment https://forums.phpfreaks.com/topic/209061-change-a-files-last-modified-date-using-php/#findComment-1091916 Share on other sites More sharing options...
trq Posted July 28, 2010 Share Posted July 28, 2010 touch. Link to comment https://forums.phpfreaks.com/topic/209061-change-a-files-last-modified-date-using-php/#findComment-1091941 Share on other sites More sharing options...
php_joe Posted July 28, 2010 Author Share Posted July 28, 2010 Thanks! Worked great! Link to comment https://forums.phpfreaks.com/topic/209061-change-a-files-last-modified-date-using-php/#findComment-1091948 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.