/* * 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 / Views | Last post | ||
---|---|---|---|---|
0 Members and 2 Guests are viewing this board. | ||||
113 Replies
68,122 Views |
February 11, 2016, 06:30:39 am by cherimoya_kid |
|||
coconut oil
Started by shannon |
5 Replies
5,006 Views |
August 31, 2010, 12:56:17 am by TylerDurden |
||
stock made with clam shells?
Started by shannon |
2 Replies
3,822 Views |
September 17, 2010, 07:24:31 pm by RawZi |
||
Meal planning
Started by SoulJourner |
5 Replies
7,501 Views |
September 16, 2012, 07:30:40 pm by eoterm |
||
3 tribes, not 2, ate dairy
Started by ster546464@yahoo.co.uk |
5 Replies
7,496 Views |
September 03, 2015, 07:43:44 am by cherimoya_kid |
||
Anti Weston Pricer's are hypocrites
Started by ster546464@yahoo.co.uk « 1 2 » |
32 Replies
16,973 Views |
October 31, 2010, 11:46:38 pm by ster546464@yahoo.co.uk |
||
Where does he mention homosexuality
Started by ster546464@yahoo.co.uk « 1 2 3 4 » |
97 Replies
56,955 Views |
December 05, 2019, 01:52:21 am by sabertooth |
||
11 Replies
7,505 Views |
July 03, 2010, 04:09:15 am by sven |
|||
weston a price censored
Started by svrn |
12 Replies
10,873 Views |
October 13, 2012, 04:33:36 am by Dorothy |
||
Introduction new member part2
Started by sydney |
1 Replies
3,103 Views |
May 07, 2010, 04:34:09 pm by TylerDurden |
||
forager vs mammoth hunter
Started by sydney |
4 Replies
4,950 Views |
May 12, 2010, 03:22:10 am by sydney |
||
Introduction new member
Started by sydney |
5 Replies
5,133 Views |
May 11, 2010, 06:12:09 am by sydney |
||
100% grass-fed cheese
Started by Taste Sense « 1 2 » |
28 Replies
24,958 Views |
July 29, 2011, 04:21:21 am by Dorothy |
||
Apology re Weston-Price
Started by TylerDurden |
12 Replies
12,264 Views |
July 17, 2012, 07:38:13 pm by wodgina |
||
Question for Raw Dairy Drinkers
Started by TylerDurden |
5 Replies
6,869 Views |
November 25, 2011, 02:14:15 am by HIT_it_RAW |
||
Article on UK Milk
Started by TylerDurden |
1 Replies
3,951 Views |
July 03, 2015, 11:04:57 pm by raw-al |
||
0 Replies
3,706 Views |
March 22, 2009, 04:09:06 am by TylerDurden |
|||
Nourishing Traditions E-book
Started by vril176 |
0 Replies
3,934 Views |
May 04, 2010, 02:19:04 am by vril176 |
||
37 Replies
37,902 Views |
October 21, 2019, 11:35:24 pm by On a Quest, you want in? |
|||
Fish is helping me get off dairy
Started by Waldpfad |
13 Replies
9,990 Views |
November 05, 2011, 10:20:50 am by bharminder |
||
Beautiful People
Started by wodgina |
14 Replies
15,326 Views |
September 18, 2010, 07:01:27 am by djr_81 |
||
126 Replies
95,273 Views |
November 14, 2020, 04:33:21 pm by Sol^Sa |
|||
Pictures of Caribou herders
Started by ys |
10 Replies
11,571 Views |
March 16, 2011, 12:26:37 pm by raw |
||
What is the Weston Price Diet?
Started by Zack |
9 Replies
8,287 Views |
November 03, 2014, 03:43:10 pm by political atheist |
||
Website: Modern Nomadic Man
Started by zeno |
0 Replies
4,846 Views |
November 28, 2011, 01:09:17 am by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll