Date PHP File Was Last Updated

RegisterLogin
Date PHP File Was Last Updated
Post Description: find the date a php file was last updated hi, im coding a project, and i want to be able to determine when was the last time a certain php file was updated so i can updated. for example
Tags: date, php, file, was, last, updated
This Post Was Posted On Aug 01, 2010 By Salers #3514
hi, im coding a project, and i want to be able to determine when was the last time a certain php file was updated so i can updated. for example

$filname = mywebs.php

if(date > today){
updatefile;
}else{
Do not update file;
}
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
annyphp
#4742 1
script you can use
Jan 06, 2011 Reply Report abuse
webune
#4279 2
you can use the filemtime() function:

int filemtime ( string $filename )

if you need an example, let me know i can show you how to use it
Aug 01, 2010 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 7:36 pm
Powered by: Webune Forums V3