PHP 5: Log Limiter
Francesco Cirać (contact me)
This class can be used to limit the number of times an user fails to login.
It keeps track in a MySQL database the number of a time an user with a given IP address fails to attempt to login.
When the number of failed login attempts exceeded a given limit, the class sets a cookie that is used to determine that the user is blocked while the cookie does not expire.
Click here for detailed information about this class on phpclasses.org