Jump to content

Archived

This topic is now archived and is closed to further replies.

dmitryseliv

PHP counter??

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.