/*
* 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 - VIEW USER!
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: Evanescent on October 11, 2007, 11:03:09 am
-
Someone seems to have given me admin powers since the reset.
My account (996) has a "view user" function that seems to give me access to the database of users, and stuff..
Dont worry, I wont do anything rash! Just thought you ought to know
-
Ok seems to have been fixed, not sure how I got into that
!
-
same here.. stephen.. before everyone ruins your system.. fix please i wouldnt like the game to be ruined
-
Ok seems to have been fixed, not sure how I got into that
!
It isnt.. i can still see it.. :roll:
-
Also there's another bug.. i found out there's a button that i could add and delete brokers admins users.. aircrafts and loads more
-
and another bug.. this is urgent.. i have "stephen" powers... fix please...before any ruins the game..
Stephen powers = anything a founder can do
-
I'm working on it.
Thankfully I get an email for every user account change.
-
i suggest closing the game temporarily.. before someone ruins the system?
-
For some reason I cannot reproduce the bug. Its very frustrating. Anyone care to PM me with more details?
-
For some reason I cannot reproduce the bug. Its very frustrating. Anyone care to PM me with more details?
Done.
I obviously can't give you all the details because I'm logged out right now!
-
Can i still Pm you.. since i viewed 70% of the "stephen power" pages?
-
Can i still Pm you.. since i viewed 70% of the "stephen power" pages?
Hopefully you didn't touch anything :lol:
PM him. I don't think he has found the causes yet :(
-
I wouldnt dare (I'd get banned by dktc :roll: )... I saw your "stephen system" through.. nicely created.. needs a lil touch up :wink:
Will PM.. thanks
-
I had it, but only through the "Admin" section. Didn't touch anything, just searched my own name, before realising exactly what it was.
When I logged back in, it was gone. I suspect it can only be accessed from one particular page (Rankings I think?)
-
This bug should be fixed, please let me know immediately if it is not.