/*
* 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 - Animals on the Underground
Airline Mogul Forum
Non-Airline Mogul => General Chat => Topic started by: nwadeltaboy on December 27, 2007, 04:54:35 pm
-
Check this site (http://www.animalsontheunderground.com/index.html) out!
whoever made this must have been really bored on their commutes. :D
-
wow
-
Interesting. But very sad at the same time.
-
isn't it? :P
-
Itt also says they have a book coming out.
-
Itt also says they have a book coming out.
The thing is, its such a novelty it might actually sell!
-
(http://www.animalsontheunderground.com/pd/images/rudolf_xmas.jpg)
Happy Holidays from Virgin
-
That's actually pretty cool....
but at the same time (WhaT?? :? )
-
ya...
quite frankly that scares me...
-
Its cool. I can't believe I've never noticed anything resembling animals in my 10+ visits to london.... :lol:
-
http://www.animalsontheunderground.com/pigeon.html
Is that a pigeon after a HGV has gone over it?
-
idk, but it sure is a floppy pigeon. :P
-
its a but weird :?