PHP Classes
elePHPant
Icontem

Bot Class: Simple check to see if the current user is a robot

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-08-06 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 328 All time: 6,784 This week: 923Up
Version License PHP version Categories
bot-class 1.0GNU General Publi...5.0HTTP, PHP 5
Description Author

This is a simple class to check to see if the current user is a robot.

It can check the user agent string to verify if it contains the word bot or the Facebook domain in it.

The class returns a simple Y or N value depending on whether it determine the current user is a robot or not.

Picture of Ruben Elizondo
Name: Ruben Elizondo <contact>
Classes: 1 package by
Country: Mexico Mexico

  Files folder image Files  
File Role Description
Accessible without login Plain text file bot-class.php Example Check if the visitor is a robot

 Version Control Unique User Downloads Download Rankings  
 0%
Total:328
This week:0
All time:6,784
This week:923Up
User Comments (1)
It should return a boolean instead of a string.
1 year ago (André Karell Contreras Jiménez)
7%Star