dmitryseliv Posted May 10, 2006 Share Posted May 10, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/9477-php-counter/ Share on other sites More sharing options...
ober Posted May 10, 2006 Share Posted May 10, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/9477-php-counter/#findComment-34972 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.