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! Link to comment https://forums.phpfreaks.com/topic/202500-page-impression/ Share on other sites More sharing options...
BizLab Posted May 21, 2010 Share Posted May 21, 2010 Are you building an ad system? Link to comment https://forums.phpfreaks.com/topic/202500-page-impression/#findComment-1061595 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! Link to comment https://forums.phpfreaks.com/topic/202500-page-impression/#findComment-1061599 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? Link to comment https://forums.phpfreaks.com/topic/202500-page-impression/#findComment-1061795 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! Link to comment https://forums.phpfreaks.com/topic/202500-page-impression/#findComment-1063820 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/ Link to comment https://forums.phpfreaks.com/topic/202500-page-impression/#findComment-1063822 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. Link to comment https://forums.phpfreaks.com/topic/202500-page-impression/#findComment-1066105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.