Page 1 of 1

Do BOT's trigger the count?

Posted: Thu May 20, 2010 11:56 pm
by MarkHoward
Script URL:
Version of script:1.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
Hi. Firstly, what a very useful script this is. Thank you.
Can you tell me if BOT's or Crawlers or any other non-humans can trigger the counter?
If so, is there any mod I can do to ensure that only human clicks are counted?
Thanks.

Posted: Fri May 21, 2010 12:53 pm
by Klemen
Yes, bots do trigger the count. To prevent the good bots (those that obey standards) doing so block them from visiting click.php using robots.txt file:
http://www.google.com/#hl=en&source=hp&q=robots.txt
http://www.google.com/#hl=en&source=hp& ... allow+file

Blocking others (non-standard compliant) would require coding in confirmation pages where people would have to type in a code (captcha) to visit a link - not recommended.

Posted: Fri May 21, 2010 9:17 pm
by MarkHoward
Thanks Klemen
That will help a lot. I'll try that on Monday. :)

Posted: Thu May 27, 2010 8:59 pm
by DC
Klem, couldn't you just check a session var is set as I found most bots pay no attention to sessions or cookies, thus they can't trigger the script if we check that ideas just my 2 cents ...

Its a small trick I use in my anti spam scripts.

DC

Posted: Fri May 28, 2010 3:43 pm
by Klemen
The bot would have to go through 2 requests for this to work (the click.php would have to be accessed two times).