Properties

$ip_address

$ip_address : 

Type

$_enable_xss

$_enable_xss : 

Type

Methods

csrf_verify()

csrf_verify() 

csrf_show_error()

csrf_show_error() : void

Show CSRF Error

_fetch_from_array()

_fetch_from_array(  $array,   $index = NULL,   $xss_clean = NULL) 

Parameters

$array
$index
$xss_clean

getallheaders()

getallheaders() 

ip_address()

ip_address() : string

Fetch the IP Address

Determines and validates the visitor's IP address.

Returns

string —

IP address

server()

server(  $index,   $xss_clean = TRUE) 

Parameters

$index
$xss_clean

valid_ip()

valid_ip(  $ip,   $which = '') 

Parameters

$ip
$which

get_config()

get_config(array  $replace = array()) 

Parameters

array $replace

clearCSRFcookie()

clearCSRFcookie() 

timeNow()

timeNow() : string

Time now into database

Returns

string