/* * 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; } } } } }
Visit our website: www.rawpaleodiet.com
Join our Yahoo Group: RawPaleoDiet
RSS Feed Latest 50 Posts
Subject / Started by | Replies ![]() |
Last post | ||
---|---|---|---|---|
0 Members and 66 Guests are viewing this board. | ||||
![]() |
![]() |
Rendered fat from lamb suet
Started by Raw Rob |
0 Replies
3,873 Views |
![]() by Raw Rob |
![]() |
![]() |
0 Replies
2,980 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
GMO Food Dump
Started by raw-al |
0 Replies
2,363 Views |
![]() by raw-al |
![]() |
![]() |
Article on Life Extension
Started by TylerDurden |
0 Replies
2,108 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,820 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,089 Views |
![]() by Löwenherz |
|
![]() |
![]() |
IGF-1; Is Raw Dairy Bad for You?
Started by Duke |
0 Replies
3,247 Views |
![]() by Duke |
![]() |
![]() |
0 Replies
2,484 Views |
![]() by Ungullible |
|
![]() |
![]() |
0 Replies
2,108 Views |
![]() by raw-al |
|
![]() |
![]() |
0 Replies
2,445 Views |
![]() by Aura |
|
![]() |
![]() |
The death-knell of food
Started by TylerDurden |
0 Replies
2,425 Views |
![]() by TylerDurden |
![]() |
![]() |
OK what's the deal here?
Started by raw-al |
0 Replies
2,337 Views |
![]() by raw-al |
![]() |
![]() |
Virgin Boy Eggs
Started by raw-al |
0 Replies
2,548 Views |
![]() by raw-al |
![]() |
![]() |
Sushi
Started by TylerDurden |
0 Replies
2,465 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,650 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
3,196 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
0 Replies
2,243 Views |
![]() by TylerDurden |
|
![]() |
![]() |
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,546 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
2,628 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Interesting detox ideas
Started by majormark |
0 Replies
2,344 Views |
![]() by majormark |
![]() |
![]() |
Move to improve sushi in the UK
Started by TylerDurden |
0 Replies
2,069 Views |
![]() by TylerDurden |
![]() |
![]() |
High fat raw vegan
Started by albertoceraw |
0 Replies
3,100 Views |
![]() by albertoceraw |
![]() |
![]() |
0 Replies
2,449 Views |
![]() by Paleo Donk |
|
![]() |
![]() |
0 Replies
2,547 Views |
![]() by Spirit Bear |
|
![]() |
![]() |
2 Raw Vegan Celebrities
Started by TylerDurden |
0 Replies
2,183 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
4,163 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Agrinomics: "King Corn"
Started by livingthelife |
0 Replies
3,219 Views |
![]() by livingthelife |
![]() |
![]() |
organic food vs non organic food
Started by blackrhino |
0 Replies
2,270 Views |
![]() by blackrhino |
![]() |
![]() |
0 Replies
2,618 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Mutant Worms, Antioxidants and Aging
Started by raw-al |
0 Replies
2,130 Views |
![]() by raw-al |
![]() |
![]() |
Chimp starts fire
Started by TylerDurden |
0 Replies
2,163 Views |
![]() by TylerDurden |
![]() |
![]() |
Vitamin water, the New Coke
Started by raw-al |
0 Replies
2,153 Views |
![]() by raw-al |
![]() |
![]() |
The Grossness Awards 2011
Started by blimpie |
0 Replies
2,135 Views |
![]() by blimpie |
![]() |
![]() |
0 Replies
2,441 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Junk food increases risk of allergies
Started by TylerDurden |
0 Replies
2,289 Views |
![]() by TylerDurden |
![]() |
![]() |
The horror of processed food
Started by TylerDurden |
0 Replies
3,169 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,545 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,260 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,631 Views |
![]() by aginghippie |
|
![]() |
![]() |
FDA is at it again, in bed with Big Pharma
Started by raw-al |
0 Replies
2,213 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
3,059 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
0 Replies
3,946 Views |
![]() by kurite |
|
![]() |
![]() |
0 Replies
2,279 Views |
![]() by svrn |
|
![]() |
![]() |
Traditional use of lean meat and fat
Started by William |
0 Replies
2,007 Views |
![]() by William |
![]() |
![]() |
UN classifies Roundup as carcinogenic
Started by raw-al |
0 Replies
2,566 Views |
![]() by raw-al |
![]() |
![]() |
Pemmican news
Started by William |
0 Replies
3,172 Views |
![]() by William |
![]() |
![]() |
RAW Paleo blog
Started by A_Tribe_Called_Paleo |
0 Replies
2,577 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
0 Replies
2,264 Views |
![]() by Fermenter Zym |
|
![]() |
![]() |
Food Matters
Started by raw-al |
0 Replies
2,323 Views |
![]() by raw-al |
![]() |
![]() |
MOVED: Earth's shape?
Started by goodsamaritan |
0 Replies
3,151 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll