Site
Site PHP Methods
static addIPBlocks(\WMT\MySQL $mysqli2, $site, string $ip) v5
Block an IP address
PARAMETERS:
$mysqli2 = object
$site = object
$ip = string, IP Address to block
RETURN VALUE:
voidstatic addMemberIPs(\WMT\MySQL $mysqli2, string $where, array &$ipArr) v5
Add an IP address to a member
PARAMETERS:
$mysqli2 = object
$where = string, SQL statement where query to select members
$ipArr = array, IP Addresses array
RETURN VALUE:
voidstatic deleteSpamContacts(\WMT\MySQL $mysqli2, $cidDelete) v5
Delete spam contacts from a site
PARAMETERS:
$mysqli2 = object
$cidDelete = string, Where SQL query content
RETURN VALUE:
voidstatic echoContact($resRow2) v5
Get contact details as HTML
PARAMETERS:
$resRow2 = Array, contact details array
RETURN VALUE:
string = contact details as HTMLstatic getSpamContactSelect($version = 4.97) v5
Gets SQL statement for spam contacts
PARAMETERS:
$version = int, Site version
RETURN VALUE:
string = SQL statement for spam contactsSite PHP Variables
🔎︎ %l4610%