On Jan 1, 2012, at 11:26 AM, muad shibani wrote:

> I have a website that posts the most important news according to the number
> of clicks to that news
> the question is : what is the best  way to prevent multiple clicks from the
> same visitor?

Not a fool-proof method, but use Javascript on the client-side to stop users' 
from continuous clicking.

Then create a token and verify the click on the server-side before considering 
the click as being acceptable.

Cheers,

tedd 


_____________________
t...@sperling.com
http://sperling.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to