/* * 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 24 Guests are viewing this board. | ||||
4 Replies
4,597 Views |
August 10, 2013, 08:44:38 am by Korcky |
|||
Myth Busting: Salmonella
Started by goodsamaritan |
4 Replies
4,602 Views |
July 01, 2009, 04:24:25 pm by goodsamaritan |
||
How to get started eating raw paleo
Started by Poncho |
4 Replies
4,613 Views |
January 05, 2013, 06:19:40 pm by TylerDurden |
||
11 Replies
4,631 Views |
December 09, 2017, 10:21:48 pm by Dingeman |
|||
7 Replies
4,651 Views |
June 02, 2010, 07:52:57 pm by cliff |
|||
Epsom salt baths
Started by A_Tribe_Called_Paleo |
6 Replies
4,653 Views |
December 29, 2014, 04:55:45 am by A_Tribe_Called_Paleo |
||
Like Cures Like. Does it really?
Started by surfsteve |
11 Replies
4,673 Views |
July 17, 2017, 02:34:29 am by surfsteve |
||
Beneficial bacteria
Started by Healthiswealth |
8 Replies
4,684 Views |
January 14, 2017, 12:15:50 pm by sabertooth |
||
7 Replies
4,688 Views |
May 26, 2012, 06:39:29 am by Alive |
|||
7 Replies
4,734 Views |
April 15, 2012, 08:37:43 am by LePatron7 |
|||
treating alopecia areata
Started by LePatron7 |
2 Replies
4,759 Views |
November 10, 2012, 12:30:46 am by zbr5 |
||
Muscle Soreness / Cramps
Started by Guittarman03 |
4 Replies
4,766 Views |
December 15, 2008, 07:03:03 am by coconinoz |
||
6 Replies
4,807 Views |
July 01, 2009, 11:33:57 pm by Roselene |
|||
6 Replies
4,825 Views |
June 06, 2015, 10:14:49 am by RogueFarmer |
|||
Concussion Nutrition
Started by Guittarman03 |
4 Replies
4,827 Views |
February 07, 2011, 03:20:44 am by kurite |
||
Please help me gain weight on RPD
Started by goodsamaritan |
5 Replies
4,874 Views |
February 29, 2012, 03:20:00 pm by HIT_it_RAW |
||
Dental/Mouth Health
Started by Techydude |
5 Replies
4,876 Views |
February 11, 2011, 09:49:03 am by kurite |
||
improving skin
Started by jessica |
6 Replies
4,906 Views |
August 02, 2012, 02:37:09 pm by rebeccazadeng |
||
diseased animal
Started by sabertooth |
6 Replies
4,912 Views |
November 02, 2011, 04:57:19 am by Neone |
||
Plaque balls in throat
Started by Dr. D |
7 Replies
4,921 Views |
July 09, 2013, 10:24:43 pm by ys |
||
Whooping cough
Started by ys |
3 Replies
4,976 Views |
February 12, 2013, 05:23:13 am by ys |
||
Sick/Detox transitioning?
Started by joej627 |
8 Replies
5,001 Views |
April 26, 2012, 10:24:23 pm by CitrusHigh |
||
How to overcome addiction?
Started by Raw777 |
7 Replies
5,011 Views |
August 06, 2016, 06:31:49 pm by svrn |
||
6 Replies
5,046 Views |
July 30, 2012, 09:01:32 pm by TylerDurden |
|||
Chronic Dehydration
Started by zeno |
5 Replies
5,070 Views |
January 04, 2012, 02:42:26 am by White shark |
||
womens health, fertility?
Started by jessica |
2 Replies
5,077 Views |
February 22, 2010, 12:03:55 am by jessica |
||
Bloody ejaculation
Started by Barefoot Instincto |
7 Replies
5,129 Views |
December 11, 2013, 06:25:11 am by Barefoot Instincto |
||
4 Replies
5,173 Views |
April 22, 2011, 06:22:36 am by Ioanna |
|||
Emotional/Spiritual Causes of illness
Started by joej627 |
8 Replies
5,182 Views |
April 07, 2012, 08:27:55 pm by joej627 |
||
5 Replies
5,189 Views |
December 14, 2011, 04:01:28 am by cherimoya_kid |
|||
Tooth problem
Started by Ravenbar |
9 Replies
5,205 Views |
April 12, 2015, 12:05:18 am by jessica |
||
6 Replies
5,224 Views |
January 19, 2014, 04:53:08 am by van |
|||
6 Replies
5,229 Views |
January 01, 2011, 11:03:13 pm by Rawdietforhealth |
|||
Can't eat very much
Started by risrosen |
9 Replies
5,254 Views |
November 23, 2010, 04:41:58 am by bharminder |
||
Feel like i can't get any oxygen.
Started by Taz |
7 Replies
5,269 Views |
June 04, 2015, 05:14:08 am by paper_clips43 |
||
Broken bone
Started by afroza |
6 Replies
5,287 Views |
February 15, 2010, 12:25:36 am by RawZi |
||
Healing damaged ACL
Started by Adora |
4 Replies
5,295 Views |
January 18, 2012, 08:16:40 pm by PaleoPhil |
||
12 Replies
5,295 Views |
June 20, 2017, 04:25:45 am by surfsteve |
|||
Men skirts for healthy sperm
Started by JeuneKoq |
6 Replies
5,297 Views |
April 13, 2015, 08:58:09 am by cherimoya_kid |
||
Ambition and Success
Started by Charlie4444 |
8 Replies
5,297 Views |
May 18, 2012, 11:43:52 pm by TylerDurden |
||
Withdrawal maybe? Need a little help
Started by ambers |
7 Replies
5,313 Views |
December 09, 2010, 07:38:20 pm by ambers |
||
Sitting on public transport
Started by Josh |
8 Replies
5,324 Views |
June 10, 2010, 02:49:23 am by djr_81 |
||
My E95 Food Tolerance Test
Started by Spirit Bear |
5 Replies
5,326 Views |
July 27, 2013, 07:30:49 am by jessica |
||
6 Replies
5,361 Views |
December 10, 2009, 12:40:24 pm by raw |
|||
Acne from raw honey
Started by A_Tribe_Called_Paleo |
8 Replies
5,376 Views |
January 14, 2015, 08:02:35 am by goodsamaritan |
||
2 years, health not improving
Started by CircleGirl |
18 Replies
5,381 Views |
May 13, 2021, 08:02:45 am by Pantera |
||
5 Replies
5,385 Views |
February 28, 2009, 11:42:34 pm by Satya |
|||
weakening eyesight
Started by littleElefant |
9 Replies
5,403 Views |
May 19, 2019, 07:09:39 pm by surfsteve |
||
11 Replies
5,408 Views |
April 10, 2013, 10:49:19 pm by LePatron7 |
|||
17 Replies
5,416 Views |
September 27, 2019, 01:42:11 am by centropen |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll