/*
* 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 - Greetings from UK :)
Paleo Diet: Raw Paleo Diet and Lifestyle Forum
Raw Paleo Diet Forums => Welcoming Committee => Topic started by: Health33 on July 31, 2012, 05:06:40 pm
-
Hello all,
I am new here, and I am looking for organic farms with raw food, dairy, fed grass eggs.
If someone can help that's great :)
Thank you,
-
You're in the UK, last I checked?:-
http://www.seedsofhealth.co.uk/resources/meat/index.shtml (http://www.seedsofhealth.co.uk/resources/meat/index.shtml)
http://www.littlelocalfood.com/ (http://www.littlelocalfood.com/)
http://www.bigbarn.co.uk/ (http://www.bigbarn.co.uk/)
http://www.alternativemeats.co.uk/asp/ (http://www.alternativemeats.co.uk/asp/)
also:-
http://www.rawpaleodietforum.com/important-info-for-newbies/where-to-buy-cheap-raw-animal-food%28please-don%27t-post-in-this-thread (http://www.rawpaleodietforum.com/important-info-for-newbies/where-to-buy-cheap-raw-animal-food%28please-don%27t-post-in-this-thread)!%29/
-
Welcome! Good luck on your journey! I hope it's easy over there to get what you need.