/*
* 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;
}
}
}
}
}
Print Page - Who have post the most spam
Airline Mogul Forum
Airline Mogul => General Chat => Topic started by: Hot Drink on March 08, 2008, 10:10:42 am
-
I will Choose Jps . For people who vote others, please reply on the forum to let us know, thx.
-
This vote depends on popularity, thus this thread will be locked. So SHUT UP before I go get an admin to lock you up.
-
And whoever votes here will also be in the same boat as him :twisted:
-
Lool... so far it looks good for JPS :twisted:
-
Jps files charges in court for Hot Drink stalking him :roll: .
@Dktc, this proves my hypothesis on HK people to be ture :lol:
-
guess what????
dktc will lock the post soon
-
Hot Drink, never add dktc into polls.. it leads to destruction :lol:
The period of chaos. The catapult starts.
Backfire is what I call it :twisted:
When there's backfire there's friendly fires :twisted:
-
Hot Drink, never add dktc into polls.. it leads to destruction :lol:
The period of chaos. The catapult starts.
Backfire is what I call it :twisted:
When there's backfire there's friendly fires :twisted:
one more thing nvr vote for dktc :wink:
-
And my name would lead to those consequences... :twisted:
It's fun making him feel bad :lol:
-
This thread is non-sense. Why do we vote?
-
Because we hate JPS
-
Because we hate JPS
I don't think Jps is that bad. He's just love speaking.
-
Do I even have to bother to answer as why this is getting locked?????