/*
* Patch for filter_var()
*/
if(!function_exists('filter_var')){
define('FILTER_VALIDATE_IP', 'ip');
define('FILTER_FLAG_IPV4', 'ipv4');
define('FILTER_FLAG_IPV6', 'ipv6');
define('FILTER_VALIDATE_EMAIL', 'email');
define('FILTER_FLAG_EMAIL_UNICODE', 'unicode');
function filter_var($variable, $filter, $option = false){
if($filter == 'ip'){
if($option == 'ipv4'){
if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
if($option == 'ipv6'){
if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
if($filter == 'email'){
if($option == 'unicode' || $option == false){
if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
}
}
User statistics for: Celmar
- Total Time Spent Online:
- 0 minutes.
- Total Posts:
- 3 posts
- Total Topics Started:
- 1 topics
- Number of Polls Created:
- 0 polls
- Number of Votes Cast:
- 0 votes
-
12 am
-
1 am
-
2 am
-
3 am
-
4 am
-
5 am
-
6 am
-
7 am
-
8 am
-
9 am
-
10 am
-
11 am
-
12 pm
-
1 pm
-
2 pm
-
3 pm
-
4 pm
-
5 pm
-
6 pm
-
7 pm
-
8 pm
-
9 pm
-
10 pm
-
11 pm
- Bugs
-
3 posts of the member's 3 posts (100.00%)
3
- Bugs
-
3 posts of the board's 9922 posts (0.03%)
0.03%