/* * 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; } } } } }
Raw Paleo Diet Forums > Personals
Anyone from Singapore or Malaysia?
vernon:
Anyone from Singapore or Malaysia?
mel:
Your post looked lonely so i thought I'd reply :)
I don't live there but have thought about relocating, I hear there is decent paying English teaching jobs there and great fresh markets. And fresh misu!
Are you a native?
Alan:
Mel, the English-literacy rate in Singapore is higher than in the USA.
Alan:
Singapore Airlines (and its wholly-owned subsidiary, SilkAir) is the world's only airline to offer zero-carb meals.
goodsamaritan:
--- Quote from: Alan on August 28, 2010, 01:13:54 pm ---Mel, the English-literacy rate in Singapore is higher than in the USA.
--- End quote ---
The accent is hard to understand "la".
Navigation
[0] Message Index
[#] Next page
Go to full version