/* * 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 12 Guests are viewing this board. | ||||
37 Replies
20,447 Views |
December 10, 2009, 05:49:05 pm by TylerDurden |
|||
The Hidden Disease: Testosterone Deficiency
Started by goodsamaritan « 1 2 » |
37 Replies
21,347 Views |
August 26, 2014, 01:35:28 am by goodsamaritan |
||
37 Replies
22,549 Views |
December 10, 2010, 01:58:55 pm by Hannibal |
|||
36 Replies
26,741 Views |
August 24, 2012, 10:06:45 pm by Suiren |
|||
How to Cure Erectile Dysfunction
Started by goodsamaritan « 1 2 » |
36 Replies
39,451 Views |
July 23, 2021, 01:03:58 am by goodsamaritan |
||
36 Replies
17,607 Views |
January 23, 2010, 10:12:53 am by PaleoPhil |
|||
36 Replies
13,848 Views |
June 10, 2018, 05:51:19 am by van |
|||
Prostate Problems All Cured with RPD?
Started by goodsamaritan « 1 2 » |
36 Replies
18,857 Views |
February 25, 2011, 03:26:55 am by laterade |
||
35 Replies
17,922 Views |
December 08, 2009, 01:26:25 am by RawZi |
|||
35 Replies
16,844 Views |
November 19, 2010, 07:53:31 am by dsohei |
|||
35 Replies
23,190 Views |
February 15, 2011, 04:25:21 pm by Wolf |
|||
33 Replies
16,926 Views |
January 01, 2012, 02:04:12 pm by stevesurv |
|||
33 Replies
17,166 Views |
August 08, 2011, 11:02:00 am by cherimoya_kid |
|||
Anybody add SAD food and it be beneficial?
Started by Charlie4444 « 1 2 » |
33 Replies
15,066 Views |
April 28, 2012, 09:21:34 am by Joy2012 |
||
33 Replies
16,719 Views |
November 18, 2013, 05:56:23 pm by favetelinguis |
|||
32 Replies
19,043 Views |
April 26, 2010, 09:51:16 am by ys |
|||
32 Replies
17,725 Views |
August 16, 2012, 09:51:11 am by Adora |
|||
Chronic Kidney disease
Started by sungazer63 « 1 2 » |
32 Replies
20,316 Views |
August 06, 2010, 07:07:15 pm by Cinna |
||
Can you list other worthwhile health forums?
Started by goodsamaritan « 1 2 » |
31 Replies
15,055 Views |
October 17, 2011, 02:39:09 am by RawZi |
||
31 Replies
14,677 Views |
October 15, 2013, 11:36:53 pm by goodsamaritan |
|||
Cancer - Solutions?
Started by Qondrar_The_Redeemer « 1 2 » |
30 Replies
10,718 Views |
July 07, 2018, 12:14:20 pm by sabertooth |
||
30 Replies
12,982 Views |
February 25, 2010, 03:43:58 am by van |
|||
30 Replies
17,797 Views |
July 31, 2012, 10:28:09 am by stoneforest |
|||
raynaud syndrom
Started by littleElefant « 1 2 » |
30 Replies
16,547 Views |
July 27, 2012, 11:22:34 pm by raw-al |
||
30 Replies
12,116 Views |
November 02, 2012, 02:13:25 pm by cherimoya_kid |
|||
30 Replies
12,868 Views |
December 11, 2011, 11:50:39 am by Aaaaaa |
|||
Sexual Protection
Started by albertoceraw « 1 2 » |
30 Replies
13,708 Views |
October 14, 2013, 03:42:27 pm by Iguana |
||
29 Replies
13,311 Views |
July 17, 2012, 06:31:00 pm by joej627 |
|||
29 Replies
22,817 Views |
March 03, 2011, 10:36:56 pm by wodgina |
|||
Infected Root Canal
Started by Spirit Bear « 1 2 » |
29 Replies
15,898 Views |
July 19, 2014, 12:30:01 am by van |
||
Heart Palpitations
Started by boxcarguy07 « 1 2 » |
29 Replies
44,246 Views |
October 19, 2009, 07:00:15 am by reyyzl |
||
29 Replies
21,430 Views |
February 02, 2013, 02:08:20 am by raw-al |
|||
28 Replies
16,594 Views |
April 15, 2011, 06:18:18 am by PaleoPhil |
|||
28 Replies
16,929 Views |
October 17, 2009, 08:17:40 am by lex_rooker |
|||
Your opinions on Uric Acid blood readings?
Started by goodsamaritan « 1 2 » |
28 Replies
15,880 Views |
November 21, 2015, 10:17:09 pm by cherimoya_kid |
||
27 Replies
16,026 Views |
August 07, 2012, 11:07:01 am by RawZi |
|||
27 Replies
13,771 Views |
January 14, 2011, 03:51:57 pm by arniedlreyes |
|||
27 Replies
14,902 Views |
August 03, 2013, 04:14:41 pm by raw-al |
|||
27 Replies
15,421 Views |
January 23, 2014, 04:10:05 pm by Chris |
|||
27 Replies
11,379 Views |
July 28, 2017, 04:49:41 am by Pumkin |
|||
26 Replies
12,588 Views |
January 31, 2010, 04:50:44 am by William |
|||
26 Replies
12,865 Views |
September 07, 2012, 08:19:02 am by Dorothy |
|||
26 Replies
16,171 Views |
April 11, 2015, 01:16:39 am by dariorpl |
|||
26 Replies
11,690 Views |
May 26, 2012, 07:23:35 am by Alive |
|||
26 Replies
18,899 Views |
August 23, 2015, 05:59:46 am by goodsamaritan |
|||
Sedentary Lifestyles
Started by extralizard13 « 1 2 » |
26 Replies
16,696 Views |
January 20, 2010, 05:20:19 am by extralizard13 |
||
Magnesium is curing me
Started by Barefoot Instincto « 1 2 » |
26 Replies
19,873 Views |
October 23, 2013, 09:31:20 am by PaleoPhil |
||
25 Replies
18,977 Views |
January 25, 2014, 05:23:49 am by TylerDurden |
|||
What if raw Paleo doesn't work?
Started by Charlie4444 « 1 2 » |
25 Replies
12,561 Views |
February 04, 2012, 11:58:30 pm by cherimoya_kid |
||
25 Replies
17,809 Views |
March 13, 2011, 11:33:47 pm by raw |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll