Jump to content


PHP counter??

  • Please log in to reply
1 reply to this topic

#1 dmitryseliv

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 10 May 2006 - 04:04 PM

Hi there!

There are plently of php counters out there but none of them has what I'm looking for.
I'm looking for php counter that can reset to ZERO automatically every day.
Any ideas link?

Best, DS

#2 ober

  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 10 May 2006 - 05:16 PM

That can be done, it's all a matter of how. Do you have access to cron jobs or scheduled tasks on the server? That's the only way to really reset the value at a specific time. You could do it in PHP by resetting the value when a specific page is loaded, but you'd be checking for a specific time, and someone would have to run the script at that time.

Info: PHP Manual

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users