Logging the counter

Right now I am manually logging what my counter reads every hour, because it’s not part of the DH statistics I get on the stats page. There’s gotta be some simple PHP thing I can use that will check the number on the counter every hour and write it to a logfile somewhere. Right? Or am I off in dreamland?

It would probably help if I knew some PHP instead of just the messing around I do.

any help would be greatly appreciated :slight_smile:

Using files for counters can be annoying.
If you have a database then you can just use that.
Create a config table perhaps with just name and value fields. Then get it to increment it every time someone visits your site.
Or is it a special counter and you need to read the value off it?