/*
* 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 - Maps
Airline Mogul Forum
Non-Airline Mogul => General Chat => Topic started by: nwadeltaboy on December 20, 2007, 10:19:42 pm
-
Am I the only one here who is ADDICTED to maps? :D
Speak up! I want to know that im not alone!!!
-
addicted to maps... :?
looking at them?
:?
-
i'm addicted to maps!
-
if you mean route maps well so am i :D
-
route maps are fun to make
-
Do you mean Modified Airplane Pictures?
-
@Seattle & SATA: any kind of map (including route maps :razz: )
@Vamerica: I like Modified Airplane Pictures, as well as Mercators and All other types of Projections.
-
I share the addiction
-
Yay! I'm not alone! :mrgreen:
-
:lol: Motivated Antelop People.
-
Why not setup the MA ;)
-
Why not setup the MA ;)
You mean Murphy's Annoying? :lol:
JK :P
-
I'm addicted to Male Arousal Points too. I enjoy them immensely.
-
I am also a member of the Mogul Activism Program.
-
i do i have a *vegetable* load of maps in my house. Even a globe that lights up, sadly broke tho. :(
-
Im good at geography :lol:
-
yes same here :D