D
D
Dokuro2015-10-01 07:24:44
PHP
Dokuro, 2015-10-01 07:24:44

How to implement a site rating system?

I want to implement something like this: mobtop.ru is just for entertainment purposes and with less functionality.
But there was a problem. I can't figure out how to store attendance statistics for Hosts - Hits.
Taking into account that on the counter it is necessary to draw hosts for today, yesterday and for the whole time
I have options of course ... But they are all very strange and kostylirovany.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2015-10-01
@27cm

I can't figure out how to store attendance statistics for Hosts - Hits.

In any data store on the server, any database will do. You can start with tables:
If you need to remove the load from the database - cache and update the statistics, for example, once an hour.
By "draw" is meant an image of a hit counter, like those of liveinternet ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question