vB_Input_CleanerClass to handle and sanitize variables from GET, POST and COOKIE etc
Located in /includes/class_core.php (line 1494)
string
$alt_ip
= '' (line 1571)
System state. An attempt to find a second IP for the current visitor (proxy etc)
string
$ipaddress
= '' (line 1564)
System state. The IP address of the current visitor
vB_Registry
$registry
= null (line 1578)
A reference to the main registry object
string
$reloadurl
= '' (line 1543)
Reload URL. Complete URL of the current page including sessionhash
string
$scriptpath
= '' (line 1536)
System state. The complete URL of the current page, without sessionhash
array
$shortvars
= array(Translation table for short name to long name
array
$superglobal_lookup
= array(Translation table for short superglobal name to long superglobal name
string
$url
= '' (line 1557)
System state. The complete URL of the referring page
string
$wolpath
= '' (line 1550)
System state. The complete URL of the page for Who's Online purposes
Constructor vB_Input_Cleaner (line 1589)
Constructor
First, reverses the effects of magic quotes on GPC Second, translates short variable names to long (u --> userid) Third, deals with $_COOKIE[userid] conflicts
clean (line 1811)
Makes a single variable safe to use and returns it
clean_array (line 1738)
Makes data in an array safe to use
clean_array_gpc (line 1758)
Makes GPC variables safe to use
clean_gpc (line 1785)
Makes a single GPC variable safe to use and returns it
convert_shortvars (line 2063)
Turns $_POST['t'] into $_POST['threadid'] etc.
do_clean (line 1904)
Does the actual work to make a variable safe
fetch_alt_ip (line 2253)
Fetches an alternate IP address of the current visitor, attempting to detect proxies etc.
fetch_ip (line 2243)
Fetches the IP address of the current visitor
fetch_scriptpath (line 2094)
Fetches the 'scriptpath' variable - ie: the URI of the current page
fetch_url (line 2200)
Fetches the 'url' variable - usually the URL of the previous page in the history
fetch_wolpath (line 2155)
Fetches the 'wolpath' variable - ie: the same as 'scriptpath' but with a handler for the POST request method
stripslashes_deep (line 2040)
Reverses the effects of magic_quotes on an entire array of variables
strip_sessionhash (line 2083)
Strips out the s=gobbledygook& rubbish from URLs
xss_clean (line 2025)
Removes HTML characters and potentially unsafe scripting words from a string
Documentation generated on Fri, 09 May 2008 09:00:57 -0500 by phpDocumentor 1.4.1