Detecting Bot using Codeigniter |
For bots which are behaving properly, you can use the user_agent library:
http://www.codeigniter.com/user_guide/li...::is_robot $this->agent->is_robot() or $this->agent->is_robot('name_of_bot') As already mentioned, though, when someone wants to create a bot which misbehaves, more than likely they're going to make it difficult for you to detect that bot, as well. |
Messages In This Thread |
Detecting Bot using Codeigniter - by nasser.man - 05-04-2015, 07:59 AM
RE: Detecting Bot using Codeigniter - by CroNiX - 05-04-2015, 08:16 AM
RE: Detecting Bot using Codeigniter - by nasser.man - 05-04-2015, 08:48 AM
RE: Detecting Bot using Codeigniter - by mwhitney - 05-04-2015, 02:06 PM
|