Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Wanted: Service 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
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
 

NameGuy

Level 8
Legacy Exclusive Member
Joined
Apr 19, 2003
Messages
1,827
Reaction score
2
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
You are the man NameGuy, thanks a lot.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

The Rule #1

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

Members Online

Premium Members

Upcoming events

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom