0

Ok, I came across this site :http://www.pokebuddies.tk/ and the images(pokemon) show how many times they have been clicked(their level) and You can only click it once every 24 hours per IP.

How did they do that? I know they use PHP and MySQL.

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by metalix
0

if its once every 24 hours it is probably done using cookies with a 24 hour timeout.
or you can use sessions to do it 15min after they leave.
its a little heavy on the database to use mysql
i would recommend only using mysql to store the total views

0

if its once every 24 hours it is probably done using cookies with a 24 hour timeout.
or you can use sessions to do it 15min after they leave.
its a little heavy on the database to use mysql
i would recommend only using mysql to store the total views

Alright, but how do I get the PHP to edit the image for the count?

0

How i make a counter that will show me the total visitor in my site in different time.
Anyone can help me please

0

Ok I ran some tests on that site and they do actually use MYsql to store views.
there is a short tutorial on it here

@jibon57 What do you mean by different time?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.