View Full Version : When something was changed last?
Is there a function or a command for PHP or any other language where it checks when a file was changed last? I ask this because I have a news system on my website that changes a file called news.php to add news that my members add. Then I include that news.php file on my index page. The thing is that I have that news script installed for about 15 of my members. Each one with their own little database thing. Now, I would like to have the date of when their news was updated.
Dean C
09-01-2003, 05:49 PM
Are you inserting the news items as a row into a mysql table?
Nope, I am using a script called Fusion News (www.fusionphp.net). It does not use a database.
NTLDR
09-01-2003, 08:21 PM
<a href="http://uk.php.net/manual/en/function.filemtime.php" target="_blank">http://uk.php.net/manual/en/function.filemtime.php</a>
IT keeps saying the file does not exist......then I copy the link and put it in my browser and there it is. So it obviously exists...What's going on?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.