• Welcome to DNForum.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

Wanted: Service I need help with some code, please!

Status
Not open for further replies.

Spider

New Member
The Originals
Legacy Platinum Member
Joined
Apr 9, 2003
Messages
1,578
Reaction score
0
I am running a script on thugrater.com that uses cached info that is updated every hour. The readme.txt says I can update a specific line of code to make it update faster. Can someone tell me what to update? This is the code below and I have no idea how I can make it faster, I would rather it update everytime a user comes to the site or maybe every minute....

if(@filemtime($file) < mktime(date("H")-1, abs(date("i")), abs(date("s")), date("m"), date("d"), date("Y"))){

$output = <<<FO
 
This would do it every minute

if(@filemtime($file) < mktime(date("H"), abs(date("i")-1), abs(date("s")), date("m"), date("d"), date("Y"))){

$output = <<<FO
 
You are the man NameGuy, thanks a lot.
 
Status
Not open for further replies.
Back
Top Bottom