/*
* 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 - Continent Changing-Who do I email?
Airline Mogul Forum
Airline Mogul => General Chat => Topic started by: Seattle on November 24, 2007, 04:44:05 pm
-
Im continent changing again, I guess it better then quiting. 8)
I changed continents before, but I cant remember who to email :P
-
Your staying? hoorah!
Maybe we can be official partners after all! someone i know says move to Australia!
-
the blue mine guy... :lol:
After your little spare parts battle with him, I've revised my plans, so Im going to be in the Cape Verde Islands in Africa!!!! :D
-
We didn't have a battle, he just through spare parts at my paxs
-
staff@airlinemogul.com
(btw... where are the mods of this forum?)
-
sleeping? :? Dont I email you for a continent change... I think I remember.... it is you right?
-
no, you don't email me jk :lol:
-
Oh yes, we always welcome new airlines here down under :P
*will stealing the landing gears ground seattle's fleet? Lets try...* :D
-
*trows more spare parts at blue sky mines pax*
-
*trows more spare parts at blue sky mines pax*
Helps Darth Robby throw spare parts at Blues pax and home
-
lol, *takes of blues front passenger door*