themistral Posted May 21, 2010 Share Posted May 21, 2010 I guys, I've created a script that counts everytime an image is loaded, but I think it's counting visits from search engines. Is there an easy way to check if a visitor is a robot without checking the robot name? I know I could capture the user-agent data, but I don't want to add the load to the database. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
BizLab Posted May 21, 2010 Share Posted May 21, 2010 Are you building an ad system? Quote Link to comment Share on other sites More sharing options...
themistral Posted May 21, 2010 Author Share Posted May 21, 2010 How did you guess? Yes I am! Quote Link to comment Share on other sites More sharing options...
themistral Posted May 21, 2010 Author Share Posted May 21, 2010 Has anyone got something a bit more helpful to add? Quote Link to comment Share on other sites More sharing options...
themistral Posted May 26, 2010 Author Share Posted May 26, 2010 I'm still looking for a resolution to this... I'm looking for a way to check if a visitor is a robot. If there is a comprehensive list of robot User-agent names anywhere, I could maybe create an array to check against. Any ideas gratefully received! Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted May 26, 2010 Share Posted May 26, 2010 See http://www.robotstxt.org/db.html and http://www.botsvsbrowsers.com/ Quote Link to comment Share on other sites More sharing options...
BizLab Posted June 1, 2010 Share Posted June 1, 2010 it's been a while sinc i was on here themistral! lol - I assume you are counting views in the database with an incrementing script... i'm not convinced that the bots will trigger this script.. When i get some time i will do some tests, but until then it would be nice to see some other inputs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.