/*
* 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: pharmy
- Total Time Spent Online:
- 11 hours and 0 minutes.
- Total Posts:
- 15 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
- General Chat
-
4 posts of the member's 15 posts (26.67%)
4
- Game Strategy
-
2 posts of the member's 15 posts (13.33%)
2
- Game Updates
-
1 posts of the member's 15 posts (6.67%)
1
- Bugs
-
1 posts of the member's 15 posts (6.67%)
1
- Game Updates
-
1 posts of the board's 1434 posts (0.07%)
0.07%
- Game Strategy
-
2 posts of the board's 3230 posts (0.06%)
0.06%
- General Chat
-
4 posts of the board's 24019 posts (0.02%)
0.02%
- Bugs
-
1 posts of the board's 9922 posts (0.01%)
0.01%