/* * 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 38 Guests are viewing this board. | ||||
cellulite
Started by littleElefant « 1 2 » |
41 Replies
23,860 Views |
August 22, 2014, 10:51:29 pm by venk1986 |
||
48 Replies
23,984 Views |
February 23, 2011, 08:16:51 am by raw-al |
|||
My 8 year old son has been diagnosed with tuberculosis
Started by goodsamaritan « 1 2 3 » |
51 Replies
24,320 Views |
December 27, 2009, 06:38:57 am by RawZi |
||
52 Replies
25,345 Views |
January 18, 2017, 10:22:48 am by MaximilianKohler |
|||
54 Replies
25,465 Views |
November 21, 2010, 08:51:02 pm by goodsamaritan |
|||
63 Replies
26,141 Views |
January 08, 2011, 10:42:21 am by achillezzz |
|||
36 Replies
26,753 Views |
August 24, 2012, 10:06:45 pm by Suiren |
|||
migraines caused by high carb?
Started by chris h laing « 1 2 3 » |
52 Replies
26,854 Views |
June 17, 2009, 07:19:08 pm by TylerDurden |
||
41 Replies
27,265 Views |
August 24, 2011, 11:01:39 pm by Dorothy |
|||
47 Replies
27,360 Views |
July 14, 2010, 09:55:14 am by klowcarb |
|||
39 Replies
27,531 Views |
January 31, 2010, 01:42:59 am by TylerDurden |
|||
57 Replies
27,974 Views |
January 04, 2010, 05:32:10 am by redfulcrum |
|||
24 Replies
28,052 Views |
May 21, 2012, 02:01:30 am by Duke |
|||
10 Replies
28,360 Views |
June 17, 2018, 03:22:03 am by Susadele |
|||
48 Replies
28,688 Views |
May 12, 2012, 08:28:05 am by Alive |
|||
58 Replies
29,061 Views |
December 16, 2015, 07:30:52 am by cherimoya_kid |
|||
Qs re Candida and leaky gut-
Started by bunnycat74 « 1 2 » |
43 Replies
30,112 Views |
January 07, 2018, 09:37:57 pm by political atheist |
||
Depression success stories?
Started by Charlie4444 « 1 2 3 » |
62 Replies
30,234 Views |
July 08, 2012, 04:37:03 pm by goodsamaritan |
||
51 Replies
31,085 Views |
December 07, 2009, 08:57:10 am by RawZi |
|||
67 Replies
31,292 Views |
August 15, 2021, 02:50:51 am by joejac |
|||
59 Replies
31,484 Views |
April 15, 2011, 03:46:28 am by klowcarb |
|||
warning - take this seriously
Started by Charlie4444 « 1 2 3 4 » |
77 Replies
31,589 Views |
July 21, 2012, 07:35:56 am by svrn |
||
70 Replies
33,053 Views |
November 26, 2013, 03:41:37 am by LePatron7 |
|||
The downside of raw paleo, tiredness?
Started by Charlie4444 « 1 2 3 » |
74 Replies
34,381 Views |
August 14, 2012, 12:25:51 pm by cherimoya_kid |
||
Burning stomach from raw honey
Started by Caveman |
20 Replies
34,592 Views |
February 27, 2011, 02:02:46 am by PaleoPhil |
||
ALL VACCINES are dangerous to human health. Reject them ALL.
Started by goodsamaritan « 1 2 3 4 » |
77 Replies
36,330 Views |
February 05, 2012, 11:44:37 pm by PaleoPhil |
||
IBS: Try Olive Oil Enemas
Started by goodsamaritan |
20 Replies
38,338 Views |
July 16, 2012, 02:14:25 am by mhikl |
||
89 Replies
38,633 Views |
September 27, 2010, 11:16:19 pm by pioneer |
|||
H. Pylori :(
Started by aunaturale « 1 2 » |
38 Replies
39,431 Views |
November 08, 2019, 03:07:59 pm by norawnofun |
||
How to Cure Erectile Dysfunction
Started by goodsamaritan « 1 2 » |
36 Replies
39,466 Views |
July 23, 2021, 01:03:58 am by goodsamaritan |
||
69 Replies
39,641 Views |
December 21, 2012, 09:11:44 am by PaleoPhil |
|||
72 Replies
40,000 Views |
September 09, 2011, 09:51:34 pm by cherimoya_kid |
|||
Left leg shin numbness
Started by Coatue |
20 Replies
41,666 Views |
March 07, 2013, 06:02:48 pm by yeetingt |
||
60 Replies
41,846 Views |
April 13, 2012, 05:33:59 pm by Waquini |
|||
Heart Palpitations
Started by boxcarguy07 « 1 2 » |
29 Replies
44,254 Views |
October 19, 2009, 07:00:15 am by reyyzl |
||
68 Replies
44,305 Views |
August 02, 2018, 04:36:55 am by rami999 |
|||
106 Replies
49,637 Views |
May 23, 2013, 04:51:11 am by LePatron7 |
|||
158 Replies
59,245 Views |
June 30, 2012, 09:36:52 pm by goodsamaritan |
|||
157 Replies
64,727 Views |
December 25, 2012, 08:13:04 am by Suiren |
|||
Egg Yolk Liver Flushing: The Paleo Liver Flush
Started by goodsamaritan « 1 2 3 » |
71 Replies
66,826 Views |
October 25, 2020, 05:02:44 pm by political atheist |
||
154 Replies
69,912 Views |
February 16, 2015, 03:27:02 pm by Inger |
|||
164 Replies
72,663 Views |
September 29, 2014, 07:57:34 am by PaleoPhil |
|||
229 Replies
115,038 Views |
March 14, 2015, 09:23:55 am by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll