/*
* 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 - Brokers
Airline Mogul Forum
Airline Mogul => General Chat => Topic started by: nwadeltaboy on December 23, 2007, 02:56:51 am
-
Who will be the official brokers this round?
-
Me and Mr.Orange for sure.
Maybe Hampo and dktc.
-
I'm up for it! Sort out my airline ops, get a bank full of money then start brokering :D
-
Hampo's back!!!! Yay!!!!! :D :D :D :D :D :D
-
@Hampo: Good to see you back. Just a note, prices are at -10% already so no need to start price wars :lol:
-
Gutted, thats the only thing I'm good at :D
Best of luck to all the players this round, and good luck to the other brokers!
-
I will take 2 747's. Thanks
-
I will take 2 747's. Thanks
I don't think they will accept a postdated cheque - especially from you! :P
-
I tell you what, i'll get you 3, for free ;)!
-
There should be a button for people to give other people money, but it would have to go through a money brocker :P :twisted:
-
nominate me...i coule be a very, very good money broker :twisted: :twisted: :twisted:
-
It would be nice if I could take a stab at being a broker for a game year :wink:
-
It would be nice if I could take a stab at being a broker for a game year :wink:
Dont even think about it. ;)
-
It would be nice if I could take a stab at being a broker for a game year :wink:
Dont even think about it. ;)
To late. :lol: If you want to give me a try, I won't ask again :wink:
-
Hmm request button doesn't seem to work. Attempted several requests on all brokers at -10% and it lost the request on all of them.