last modification time of the included files
Posted: Tue Mar 23, 2010 3:30 am
Hello.
I need to get in some way the maximum last modification time of my php files. The problem is that in many files I use include or require. So I need to know the last modification date of the included files.
Example:
inlude "config.php"
echo "Last modification time"
// here I should display the maximum last modification time of the actual file, and also of the file "config.php"
Which is the best way to do this? I don't want to change the code of the included files.
Thank you very much
I need to get in some way the maximum last modification time of my php files. The problem is that in many files I use include or require. So I need to know the last modification date of the included files.
Example:
inlude "config.php"
echo "Last modification time"
// here I should display the maximum last modification time of the actual file, and also of the file "config.php"
Which is the best way to do this? I don't want to change the code of the included files.
Thank you very much