The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||
|
||||
|
Are you inserting the news items as a row into a mysql table?
|
|
#3
|
|||
|
|||
|
Nope, I am using a script called Fusion News (www.fusionphp.net). It does not use a database.
|
|
#4
|
||||
|
||||
|
<a href="http://uk.php.net/manual/en/function.filemtime.php" target="_blank">http://uk.php.net/manual/en/function.filemtime.php</a>
|
|
#5
|
|||
|
|||
|
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?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|