+ 1
Hi I need to add a visitor counter?
I would like to include a visitor counter in my php web App and also the Admin can only access that?
1 Odpowiedź
0
write a record in your database for visitor which contain, the date they're visited and their ip (https://stackoverflow.com/questions/3003145/how-to-get-the-client-ip-address-in-php )
now you can check if the visitor was visited before in that day, by looking at your database
to get how much visitor just count the record