Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Domain summit 2024

I need help with some code, please!

Status
Not open for further replies.

Spider

Level 8
Legacy Platinum Member
Joined
Apr 9, 2003
Messages
1,578
Reaction score
0
Feedback: 3 / 0 / 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
 
Domain summit 2024

NameGuy

Level 8
Legacy Exclusive Member
Joined
Apr 19, 2003
Messages
1,827
Reaction score
2
Feedback: 136 / 0 / 0
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
 

Spider

Level 8
Legacy Platinum Member
Joined
Apr 9, 2003
Messages
1,578
Reaction score
0
Feedback: 3 / 0 / 0
You are the man NameGuy, thanks a lot.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

AucDom
UKBackorder
Be a Squirrel
MariaBuy

New Threads

Our Mods' Businesses

UrlPick.com
Free QR Code Generator by MerchArts

*the exceptional businesses of our esteemed moderators

Top Bottom