Author: Manuel Lemos
Package: Robots Class
The analysis of the robot access activity may be helpful to determine if in the future a site may consider those accesses as valid or ignore them to avoid a needless load of the Web server machine.
This class provides several alternatives to log the details of robot accesses like log files, email, and database table records.
Applications developers may pick different log storage container types depending on what can be better for future analysis.
About the Robots Class Package
The basic purpose is: Log accesses of robots to database, email or files
Here follows in more detail what it does:
This class can log accesses of robots to databases, email, or files.
It can retrieve the current HTTP request details and log them for later processing.
Currently, it can log details like the current site name, date of access, the visitor's IP address, and the browser's name or user agent identifier string.
The class can log the access details either to text files, a MySQL database, another SQL database using PDO, or send an email message to a given address.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
Login Immediately with your account on:
No comments were submitted yet.