/*
* 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 - How do i create flights from alliacne hubs?
Airline Mogul Forum
Airline Mogul => General Chat => Topic started by: db07mufan on April 17, 2008, 08:56:53 am
-
Hello there,
Im in an alliance atm and have rented gates which my partners have bases. But when i create routes the starting airport does not have them.
Is it geographically limited? meaning we can only start from hubs that are of same continent. pls advise
-
It might be a bug. As far as I know there are no limitations other than the alliance route limits.
-
hmmphhh. I cant seem to start flights NOoooooooooo
-
hmmphhh. I cant seem to start flights NOoooooooooo
Remember not to compete with the alliance member who owns the base ;) It makes people angry :lol:
-
alright it works now, i logged out and logged in :D
Thanks all! Will keep that into my mind thanks!
-
I'm nearly sure that it tells you to logout and login when you join an alliance.
-
I'm nearly sure that it tells you to logout and login when you join an alliance.
Guess someone forgot to read that part :twisted:
-
i admit i missed that part!
Sorry for all the commotion :(:( I apologise