/*
* 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 - Funny/Insane youtube videos
Airline Mogul Forum
Non-Airline Mogul => General Chat => Topic started by: Blue Sky Mine on January 09, 2008, 07:44:09 pm
-
I'll start:
just try to pronounce those names that fast:
http://uk.youtube.com/watch?v=lOADNQqBIj0
crazy kid jumps tree: :twisted:
http://uk.youtube.com/watch?v=2zx6oTdzJYo
-
I've got some good ones too, try these:
Apple's newest invention:
http://www.youtube.com/watch?v=rTOoXpeNwMI
the beer song:
http://www.youtube.com/watch?v=ATBl4qH9I54
and Weird Al Yankovic's epic 10minute drive-thru song:
http://www.youtube.com/watch?v=qmGVYki-oyQ
-
Caturday! (http://youtube.com/watch?v=LQL1h3no-sc)
-
"beer is liquid bread it's good for you"- oh yeah...
(as long as you can sing along the complete song you know you didn't have enough BEER)
-
I cant believe i watched all ofthem, but the iRack and iRan one was hilarous :lol:
-
This is a good one.
http://www.youtube.com/watch?v=BeRjRxYhz6U
-
You'll get a kick out of this one :lol:
http://www.youtube.com/watch?v=t3s6cYR9t-U
-
http://uk.youtube.com/watch?v=1P812P6zd6s
This dude got b@lls! :shock:
-
http://uk.youtube.com/watch?v=1P812P6zd6s
This dude got b@lls! :shock:
I was like this :shock: when i saw it,
When I saw Irack and Iran.........
Watch also Who's the president?
-
Do you know why I pulled you over?
http://www.youtube.com/watch?v=Kkc2KinHWiM&feature=user