Points system, refresh issue. Adding some limits.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
omatic18
Forum Newbie
Posts: 1
Joined: Mon Feb 01, 2010 3:06 pm

Points system, refresh issue. Adding some limits.

Post by omatic18 »

Hi, i have a webpage. When registered user views certain content, he/she gets 1 point for that. But, if one refreshes page, he/she could make massive points. How do limit that. Some kind of session, cookie? Im kinda newb at php.

Thanks.
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: Points system, refresh issue. Adding some limits.

Post by klevis miho »

They can delete the session and cookie.

You could check their IP's:

$_SERVER['REMOTE_ADDR'];
Post Reply