/*
* 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 - What's that UN thing?
Airline Mogul Forum
Non-Airline Mogul => General Chat => Topic started by: zkvac on February 19, 2008, 06:27:09 am
-
Posted a topic as told ;)
What is it?
-
something :lol:
-
As it says really, it's United Nations. Everyone representing a country and by that working politically to resolve problems that arise :)
-
--- or is causing the problems, that depends on the player ---
-
So it's just a thread in this forum?
-
So it's just a thread in this forum?
Yup, and does not necessarily have ANY similarities to the real world, just some members having a bit of fun, with a somewhat serious note to it.
-
Like for example last time Germany sold all its Eurofighters to Singapore :D
-
Like for example last time Germany sold all its Eurofighters to Singapore :D
and a crazy war with Australia and UK and new zealand!
-
thats over now, thanks to the AUSANZAC, soon to become the AUSAUKNZAC, if the U. K. accepts the invitation :lol:
-
thats over now, thanks to the AUSANZAC, soon to become the AUSAUKNZAC, if the U. K. accepts the invitation :lol:
NZ did nothing of the sort. Stop theses lies
-
thats over now, thanks to the AUSANZAC, soon to become the AUSAUKNZAC, if the U. K. accepts the invitation :lol:
NZ did nothing of the sort. Stop theses lies
It was those pesky Canadians :P
-
Oh yes, and in the current one, all of the world airlines have moved to the Us (their hq's) except for OA, Aegean, and Turkish airlines....
Boeing in building the 797 and 747-400/800 in Greece,
43% of the population of the US is Greek Orthodox.
Micronesia has found someway to genitacally grow, ready made fish and chips.
Greece and turkey hold an olive oil embargo on the world (98% to greece, 2% to Turkey)
The world uses extra virgin olive oil to power it.
MAlaysia has warned singapore that it controls it water and food supply.
Micronesia has a powerfu navy, airforce, and army, thanks to Greece. (and a 1st class airport)
Singapore gaves its A380's away :shock: Then they bought 747-800's!!! :D :D