/* * 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 42 Guests are viewing this board. | ||||
5 Replies
8,003 Views |
March 05, 2014, 11:04:27 am by Sorentus |
|||
Gonorrhea As the Next Superbug
Started by whatever |
18 Replies
7,985 Views |
April 01, 2010, 12:44:31 pm by KD |
||
the metabolism of lipids
Started by coconinoz |
16 Replies
7,982 Views |
August 06, 2008, 11:02:02 am by coconinoz |
||
Maple Syrup
Started by miles |
12 Replies
7,977 Views |
September 29, 2010, 01:44:19 pm by raw |
||
Cleansing and a Raw Paleo Diet
Started by zeno |
9 Replies
7,973 Views |
June 15, 2011, 11:13:39 am by zeno |
||
Variability in human genome
Started by alphagruis |
20 Replies
7,958 Views |
March 23, 2010, 05:21:14 am by Paleo Donk |
||
High fat diet problems
Started by Metallica |
14 Replies
7,941 Views |
August 19, 2008, 09:03:15 pm by wodgina |
||
Strange thing happened yesterday.
Started by Hannah |
18 Replies
7,934 Views |
January 05, 2011, 12:36:23 pm by Hannah |
||
Chicken Gizzard?
Started by kurite |
9 Replies
7,924 Views |
April 11, 2010, 05:12:51 pm by gep |
||
Shouldn't my grass-fed suet be yellowish?
Started by Raw Rob |
6 Replies
7,923 Views |
December 29, 2009, 09:34:43 am by cherimoya_kid |
||
washing of the hands
Started by svrn |
9 Replies
7,922 Views |
December 16, 2011, 04:30:14 am by cherimoya_kid |
||
What do 'wild' chickens really eat?
Started by Polyvore |
10 Replies
7,902 Views |
September 24, 2012, 09:21:27 pm by Löwenherz |
||
Thoughts of the Day.........
Started by Tsurugi_Oni |
16 Replies
7,889 Views |
July 21, 2011, 12:23:05 pm by Dorothy |
||
Average Paleo Diet
Started by SkinnyDevil |
13 Replies
7,876 Views |
October 11, 2009, 01:28:06 am by PaleoPhil |
||
motivation vs. laziness
Started by Raw Kyle |
13 Replies
7,874 Views |
May 21, 2009, 03:07:15 pm by goodsamaritan |
||
Herbivorous Men...........
Started by Poncho |
15 Replies
7,869 Views |
August 24, 2013, 11:22:32 pm by Dr. D |
||
19 Replies
7,861 Views |
September 19, 2013, 09:07:57 pm by jessica |
|||
19 Replies
7,857 Views |
January 20, 2014, 11:37:43 am by cherimoya_kid |
|||
14 Replies
7,851 Views |
February 26, 2011, 02:30:13 am by ForTheHunt |
|||
13 Replies
7,843 Views |
January 21, 2010, 07:25:18 am by roony |
|||
Raw paleo on 2 body functions
Started by achillezzz |
17 Replies
7,827 Views |
November 24, 2010, 10:25:29 pm by yuli |
||
15 Replies
7,823 Views |
January 24, 2010, 11:41:21 am by kurite |
|||
maca
Started by Metallica |
9 Replies
7,795 Views |
August 05, 2008, 12:05:44 am by Metallica |
||
Raw Gourmet for me
Started by King Salmon |
15 Replies
7,792 Views |
June 21, 2010, 07:16:21 pm by NEUROSPORT |
||
Raw Liver Poll
Started by political atheist |
13 Replies
7,788 Views |
May 02, 2015, 12:20:51 pm by marcuspaleo |
||
What is Your Definitions of the RPD?
Started by Chris |
20 Replies
7,787 Views |
August 11, 2012, 11:04:35 pm by svrn |
||
17 Replies
7,783 Views |
September 28, 2013, 10:37:40 am by cherimoya_kid |
|||
Cacao
Started by Metallica |
9 Replies
7,780 Views |
August 07, 2008, 05:31:47 pm by TylerDurden |
||
little help?
Started by yon yonson |
15 Replies
7,757 Views |
May 16, 2009, 05:46:27 pm by TylerDurden |
||
Young children and meat
Started by Metallica |
11 Replies
7,756 Views |
June 06, 2008, 02:58:59 pm by xylothrill |
||
Tibetan High Meat
Started by raw-al |
14 Replies
7,744 Views |
March 05, 2010, 09:10:43 pm by raw-al |
||
19 Replies
7,738 Views |
July 24, 2010, 03:17:25 am by sven |
|||
Freshly squeezed juice is pasteurized
Started by marcuspaleo |
17 Replies
7,725 Views |
September 17, 2015, 01:47:47 am by lb_on_the_cb |
||
How to stomach down organs?
Started by JaX |
14 Replies
7,723 Views |
January 19, 2009, 08:40:37 am by Raw Kyle |
||
Is ceviche as good as raw?
Started by eveheart |
9 Replies
7,718 Views |
May 22, 2012, 04:58:23 am by mmspam31 |
||
Organic chicken
Started by bharminder |
18 Replies
7,716 Views |
November 04, 2010, 10:26:37 am by Sully |
||
Manuka Honey
Started by Coatue |
15 Replies
7,701 Views |
September 21, 2010, 03:33:26 am by Michael |
||
13 Replies
7,692 Views |
November 06, 2011, 03:10:22 am by KD |
|||
Bananas and Farting
Started by Sully |
7 Replies
7,690 Views |
July 19, 2008, 02:25:06 am by Raw Kyle |
||
Raw paleo diet and BODY ODOR
Started by Löwenherz |
9 Replies
7,689 Views |
January 12, 2012, 02:20:45 am by Löwenherz |
||
Grassfed Suet better than Wild Suet?
Started by zaidi |
17 Replies
7,684 Views |
October 21, 2013, 01:26:46 am by svrn |
||
13 Replies
7,680 Views |
May 16, 2010, 02:13:30 am by TylerDurden |
|||
Paleo Diet and Sinusitis
Started by docdmartin |
10 Replies
7,678 Views |
July 17, 2012, 09:23:22 am by mhikl |
||
14 Replies
7,668 Views |
September 15, 2008, 12:46:04 pm by Squall |
|||
SUET shelf life rancidity
Started by personman |
10 Replies
7,659 Views |
November 28, 2012, 10:18:19 am by PaleoPhil |
||
Why we eat what we do.......?
Started by AnopsStudier |
15 Replies
7,645 Views |
May 29, 2014, 12:14:08 am by Sorentus |
||
Salt is a chemical
Started by Nicola |
13 Replies
7,644 Views |
October 11, 2008, 03:04:57 am by TylerDurden |
||
Where to buy high meat jars on the net?
Started by wodgina |
13 Replies
7,644 Views |
September 07, 2008, 09:32:22 pm by TylerDurden |
||
How strict are you?
Started by JaX |
10 Replies
7,636 Views |
November 08, 2008, 07:22:31 am by golooraam |
||
Organic apples and ANTIBIOTICS!!
Started by Raw Matt18 |
12 Replies
7,622 Views |
February 07, 2015, 01:44:28 pm by A_Tribe_Called_Paleo |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll