Page 1 of 1

how to prevent autosurf, PTR, PTC etc?

Posted: Tue May 22, 2007 10:17 pm
by m2babaey
Hi
as you know i pay users for their articles when they are viewed, so i need to prevent cheaters from displaying their articles using autosurfs, paid to read and paid to click programs.
how do i do that?
I count the number of views. so i also need to stop the count function as well as detedting cheaters.
thanks

Posted: Fri May 25, 2007 10:34 am
by gurjit
i've done something similar before but in coldfusion, which was a advertising banner software.

What I did was to store a cookie on the computer with todays date. If the cookie existed, I checked the date against todays date.

If it was less than todays date add 1 to the count and store IP in database table, otherwise ignore.

Some browsers have cookies turned off. So you need to store the IP number of the computer to a database table and check the database table to see if that IP exists if no cookies are found.

Hope this helps

Posted: Fri May 25, 2007 10:23 pm
by m2babaey
Thanks for your reply.
it seems that this comes useful for not allowing writers read their own articles. I will do that by their IPs.
I need to detect those who submit their article links to autosurf services so lots of people will visit that url.
How is Google detecting autosurf users to ban their adsense, for example?

Posted: Sat May 26, 2007 12:24 pm
by s.dot
I should add that IP logging should not be relied upon soley because it's too easy to obtain different ip addresses (sometimes even unknowingly).