/* * 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 20 Guests are viewing this board. | ||||
4 Replies
4,481 Views |
April 07, 2015, 01:24:26 am by raw-al |
|||
Raw Python Nutrition and Healing
Started by goodsamaritan |
5 Replies
5,007 Views |
September 21, 2015, 03:21:49 pm by goodsamaritan |
||
Raw starchy vegetables
Started by Alive |
4 Replies
3,615 Views |
April 23, 2018, 03:06:52 pm by political atheist |
||
Raw Vegetarian Paleo
Started by Gloominary |
0 Replies
2,314 Views |
August 15, 2017, 07:57:19 am by Gloominary |
||
Raw Yam?
Started by technosmith « 1 2 » |
36 Replies
29,424 Views |
November 05, 2011, 06:33:14 am by Dorothy |
||
1 Replies
2,502 Views |
March 25, 2015, 09:30:02 pm by barrackobama |
|||
11 Replies
18,674 Views |
January 20, 2012, 02:16:30 am by GK420 |
|||
3 Replies
3,946 Views |
May 26, 2014, 01:14:17 pm by CatTreats |
|||
Recommended Books
Started by smokeyquartz |
4 Replies
4,269 Views |
September 18, 2019, 03:16:49 am by Projectile Vomit |
||
2 Replies
2,825 Views |
February 22, 2012, 04:28:08 am by cherimoya_kid |
|||
Rendered lamb fat
Started by hereandnow |
8 Replies
4,823 Views |
January 14, 2018, 07:58:59 am by Projectile Vomit |
||
restaurant
Started by jamiekelly |
6 Replies
4,790 Views |
November 11, 2013, 01:24:06 am by eveheart |
||
4 Replies
8,420 Views |
December 26, 2009, 05:44:06 pm by alphagruis |
|||
RPD alcohol - recipes?
Started by a_real_man |
1 Replies
2,464 Views |
May 28, 2019, 08:34:29 am by TylerDurden |
||
6 Replies
8,165 Views |
December 17, 2017, 03:43:31 am by dair |
|||
Scientists
Started by Poncho |
10 Replies
5,918 Views |
August 23, 2013, 11:26:35 pm by Poncho |
||
5 Replies
5,269 Views |
February 17, 2010, 01:06:46 pm by goodsamaritan |
|||
Seasonal Foods
Started by zeno |
1 Replies
2,511 Views |
March 21, 2012, 02:05:57 am by Thekla |
||
Sensitivity?
Started by Poncho |
23 Replies
9,360 Views |
January 16, 2013, 04:41:06 am by cherimoya_kid |
||
9 Replies
8,136 Views |
January 07, 2015, 09:47:18 am by eveheart |
|||
Share your Typical Menu for the Day
Started by Tundra |
20 Replies
15,963 Views |
May 24, 2009, 12:55:08 am by Guittarman03 |
||
0 Replies
1,772 Views |
August 07, 2019, 05:23:04 am by LunarFey |
|||
Shiitake Mushrooms
Started by surfsteve |
9 Replies
5,028 Views |
July 28, 2017, 08:40:51 pm by surfsteve |
||
Skin Inflamation
Started by tehshyt |
8 Replies
5,120 Views |
May 28, 2010, 09:54:30 am by goodsamaritan |
||
Small fruit more "natural"?
Started by dair |
1 Replies
3,033 Views |
November 09, 2018, 09:05:34 pm by thehadezb |
||
Soaking raw meat in citrus juice
Started by NuclearKnight |
3 Replies
3,132 Views |
May 31, 2016, 02:18:07 am by TylerDurden |
||
Sour milk with berries?
Started by eve1234567 |
4 Replies
3,441 Views |
June 15, 2017, 02:05:37 am by Robinlove |
||
Sourcing quality foods in Miami, FL
Started by LePatron7 |
1 Replies
2,354 Views |
December 01, 2012, 04:07:57 am by LePatron7 |
||
Sprouted Grains
Started by A_Tribe_Called_Paleo |
0 Replies
2,278 Views |
August 09, 2014, 12:58:42 pm by A_Tribe_Called_Paleo |
||
Starting out with budget...
Started by riy freeman |
21 Replies
11,884 Views |
December 08, 2010, 11:18:40 pm by bharminder |
||
Still seeking approval
Started by Poncho |
13 Replies
6,256 Views |
July 22, 2013, 03:05:42 am by Poncho |
||
Strange side-effect of eating lamb
Started by Dima |
11 Replies
16,717 Views |
November 20, 2017, 08:45:10 am by Grey-Cup |
||
Study re (raw)berries
Started by TylerDurden |
6 Replies
4,462 Views |
August 26, 2010, 02:00:09 am by raw-al |
||
Sudan's Fermented Food Heritage
Started by jessica |
2 Replies
2,737 Views |
November 22, 2014, 11:35:12 am by cherimoya_kid |
||
Sugar snap peas?
Started by kurite |
1 Replies
5,701 Views |
June 14, 2010, 04:47:25 pm by TylerDurden |
||
Suggest Foods High in SULFUR?
Started by goodsamaritan |
5 Replies
5,474 Views |
December 18, 2015, 10:57:39 am by cherimoya_kid |
||
Sun expoure and RPD
Started by a_real_man |
7 Replies
5,310 Views |
October 15, 2018, 10:01:18 am by madnomad |
||
2 Replies
2,774 Views |
January 05, 2015, 03:21:41 am by JeuneKoq |
|||
sweet potato raw tastes good
Started by bharminder |
10 Replies
11,310 Views |
January 12, 2011, 12:46:06 am by bharminder |
||
Talk about avocados
Started by goodsamaritan |
13 Replies
16,486 Views |
August 03, 2009, 03:50:12 pm by Iguana |
||
Talk about Durian
Started by goodsamaritan « 1 2 3 4 » |
91 Replies
58,771 Views |
July 09, 2012, 01:08:57 pm by DopeDivinity |
||
Teeth Profiles how carnivorous a person is meant to be?
Started by goodsamaritan « 1 2 3 4 » |
77 Replies
29,761 Views |
February 25, 2010, 10:49:33 am by PaleoPhil |
||
Tell me your story!!
Started by Poncho |
4 Replies
3,192 Views |
February 04, 2013, 09:14:06 pm by TylerDurden |
||
texas persimmon
Started by yon yonson |
2 Replies
3,572 Views |
October 12, 2010, 09:29:26 am by yon yonson |
||
46 Replies
40,891 Views |
November 07, 2010, 12:29:16 pm by the PresiDenT |
|||
4 Replies
3,545 Views |
August 21, 2016, 05:10:42 am by Iguana |
|||
43 Replies
17,073 Views |
January 25, 2012, 05:03:31 am by Dorothy |
|||
10 Replies
7,470 Views |
February 23, 2011, 02:32:14 am by djr_81 |
|||
8 Replies
4,887 Views |
December 10, 2010, 03:04:43 am by jennie |
|||
13 Replies
7,394 Views |
November 28, 2011, 12:15:17 am by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll