Log
in package
Log visits, kick bad bots
Table of Contents
- cntVisitFull() : int
- Zählt anhand IP und User-Agent
- delOldSessions() : void
- getUserIpAddr() : string
- initVisit() : void
- isBadIP() : bool
- isGrabberIP() : bool
- Ist das eine gespeicherte Grabber IP?
- writeFailedLogin() : int
- Counting failed logins Write them to table log_failed_logins Send email to webmaster if more than 5
- writeVisit() : void
- Write visit logging
- getTopIPs() : array<string|int, mixed>
Methods
cntVisitFull()
Zählt anhand IP und User-Agent
public
static cntVisitFull() : int
Return values
int —delOldSessions()
public
static delOldSessions() : void
Return values
void —getUserIpAddr()
public
static getUserIpAddr() : string
Return values
string —initVisit()
public
static initVisit() : void
Tags
Return values
void —isBadIP()
public
static isBadIP() : bool
Return values
bool —isGrabberIP()
Ist das eine gespeicherte Grabber IP?
public
static isGrabberIP() : bool
Return values
bool —writeFailedLogin()
Counting failed logins Write them to table log_failed_logins Send email to webmaster if more than 5
public
static writeFailedLogin(string $email) : int
Parameters
- $email : string
Return values
int —- number of failed logins
writeVisit()
Write visit logging
public
static writeVisit() : void
Return values
void —getTopIPs()
protected
static getTopIPs() : array<string|int, mixed>