Description
EtChatConfig
|
--Blacklist
Located in File: /Blacklist.class.php
Class Blacklist checks if the user is allowed to be in the chat and inserts the user to the blacklist
LICENSE: CREATIVE COMMONS PUBLIC LICENSE "Namensnennung — Nicht-kommerziell 2.0"
Method Detail
Summary:
Method allowedToAndSetCookie (line 81)
bool allowedToAndSetCookie(
)
AllowedToAndSetCookie, return true if done
Info
Method insertUser (line 101)
bool insertUser(
int
$userID,
$time, int
$time,)
insertUser into the blacklist table
Parameters
- int $userID:
- int $time,: Unix time
- $time:
Info
Method killUserSession (line 117)
void killUserSession(
)
killUserSession, if the user is in blacklist
Info
Method userInBlacklist (line 56)
bool userInBlacklist(
)
UserInBlacklist, checks if the curent user IP in zhe Blacklist or has the user browser an actual "black cookie"
Info