Welcome Guest, Not a member yet? Register   Sign In
$this->agent->robot()
#1

[eluser]bobbob[/eluser]
I am using the user agent library and it doesn't seem to recognize this googlebot string as a robot:
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Any ideas why? Yes I did load the library ;-)
#2

[eluser]InsiteFX[/eluser]
It only returns the users client agent.

If you want to check for a bot you will need to write
your own method to check for it.

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB