/* * 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; } } } } }
Not even mine, I have my favourite newspaper instead!
Quote from: "StephenM"Not even mine, I have my favourite newspaper instead!
and whats that? The sun :lol:
Quote from: "iranair777"Quote from: "StephenM"Not even mine, I have my favourite newspaper instead!
and whats that? The sun :lol:
I'm a snob. Anything below the Irish Times (or The British Times) is scum to me. :wink: The FT would be my favourite UK Newspaper.
I have about a zillion homepages! yay! Opera keeping the last tabs open!
www.apple.com is my homepage because i did not change it lol!!!!
oops it is a good idea to change AM to be my homepage in my notebook......why i never think of that?! :(
Quote from: "epxair"www.apple.com is my homepage because i did not change it lol!!!!
:lol:Quote from: "epxair"oops it is a good idea to change AM to be my homepage in my notebook......why i never think of that?! :(
:lol:
I'm in a laughing mood today :lol: :lol: :lol:
Quote from: "nwaboy"Quote from: "epxair"www.apple.com is my homepage because i did not change it lol!!!!
:lol:Quote from: "epxair"oops it is a good idea to change AM to be my homepage in my notebook......why i never think of that?! :(
:lol:
I'm in a laughing mood today :lol: :lol: :lol:
:roll: That MN is really getting to you :lol: