/*
* 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 - Where's everybody living?
Paleo Diet: Raw Paleo Diet and Lifestyle Forum
Raw Paleo Diet Forums => Off Topic => Topic started by: Ioanna on April 27, 2009, 09:33:21 am
-
At the moment I'm in the DC area, but that may be changing soon.
Where is everybody?
-
I'm in Norwalk, CA. About 10 miles east and just a tad south of Los Angeles proper.
Lex
-
Austin, TX
-
seattle, wa.
-
Marikina City, Philippines
-
Western Australia
http://www.discoverwest.com.au/western_australia/scarborough_beach.html (http://www.discoverwest.com.au/western_australia/scarborough_beach.html)
-
I'm in Burbank, CA.
-
Chicago, IL
-
Haddon Heights, New Jersey. Very close to Philadelphia
-
Milwaukee, WI
but I might move to Texas and stay with my uncle, he live near a town called Italy
-
In the forest, nearest town is Maniwaki, Québec.
-
Warsaw, the capital of Poland :)
-
Las Vegas
-
near Greensboro, NC.
-
Louisville, KY