/* * 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 23 Guests are viewing this board. | ||||
40 Replies
23,202 Views |
December 03, 2011, 07:39:47 pm by raw-al |
|||
40 Replies
21,277 Views |
January 07, 2012, 03:12:01 am by Dorothy |
|||
cellulite
Started by littleElefant « 1 2 » |
41 Replies
23,786 Views |
August 22, 2014, 10:51:29 pm by venk1986 |
||
41 Replies
16,866 Views |
April 08, 2014, 03:23:27 am by Pammie |
|||
41 Replies
27,103 Views |
August 24, 2011, 11:01:39 pm by Dorothy |
|||
42 Replies
17,484 Views |
January 24, 2010, 02:43:39 am by klowcarb |
|||
43 Replies
22,010 Views |
March 29, 2009, 03:28:15 am by TylerDurden |
|||
Qs re Candida and leaky gut-
Started by bunnycat74 « 1 2 » |
43 Replies
29,958 Views |
January 07, 2018, 09:37:57 pm by political atheist |
||
Depression ? Can I use this diet to get off my meds?
Started by ontheroadnyc « 1 2 » |
45 Replies
21,175 Views |
October 15, 2010, 12:04:56 am by pioneer |
||
Science of Tooth Yellowing and Decay
Started by a_real_man « 1 2 » |
46 Replies
18,956 Views |
March 25, 2020, 07:11:32 am by smilebreathe |
||
47 Replies
21,423 Views |
September 09, 2010, 02:37:14 pm by Stephanie07 |
|||
47 Replies
27,212 Views |
July 14, 2010, 09:55:14 am by klowcarb |
|||
48 Replies
21,092 Views |
April 04, 2012, 10:49:34 am by van |
|||
48 Replies
28,573 Views |
May 12, 2012, 08:28:05 am by Alive |
|||
48 Replies
23,944 Views |
February 23, 2011, 08:16:51 am by raw-al |
|||
49 Replies
20,569 Views |
May 29, 2011, 02:43:56 pm by Brad462 |
|||
My 8 year old son has been diagnosed with tuberculosis
Started by goodsamaritan « 1 2 3 » |
51 Replies
24,263 Views |
December 27, 2009, 06:38:57 am by RawZi |
||
51 Replies
30,950 Views |
December 07, 2009, 08:57:10 am by RawZi |
|||
migraines caused by high carb?
Started by chris h laing « 1 2 3 » |
52 Replies
26,784 Views |
June 17, 2009, 07:19:08 pm by TylerDurden |
||
52 Replies
25,253 Views |
January 18, 2017, 10:22:48 am by MaximilianKohler |
|||
54 Replies
25,348 Views |
November 21, 2010, 08:51:02 pm by goodsamaritan |
|||
57 Replies
27,922 Views |
January 04, 2010, 05:32:10 am by redfulcrum |
|||
58 Replies
28,801 Views |
December 16, 2015, 07:30:52 am by cherimoya_kid |
|||
59 Replies
31,303 Views |
April 15, 2011, 03:46:28 am by klowcarb |
|||
60 Replies
41,776 Views |
April 13, 2012, 05:33:59 pm by Waquini |
|||
Depression success stories?
Started by Charlie4444 « 1 2 3 » |
62 Replies
30,090 Views |
July 08, 2012, 04:37:03 pm by goodsamaritan |
||
63 Replies
26,028 Views |
January 08, 2011, 10:42:21 am by achillezzz |
|||
67 Replies
31,014 Views |
August 15, 2021, 02:50:51 am by joejac |
|||
68 Replies
44,162 Views |
August 02, 2018, 04:36:55 am by rami999 |
|||
69 Replies
39,456 Views |
December 21, 2012, 09:11:44 am by PaleoPhil |
|||
70 Replies
32,862 Views |
November 26, 2013, 03:41:37 am by LePatron7 |
|||
Egg Yolk Liver Flushing: The Paleo Liver Flush
Started by goodsamaritan « 1 2 3 » |
71 Replies
66,586 Views |
October 25, 2020, 05:02:44 pm by political atheist |
||
72 Replies
39,852 Views |
September 09, 2011, 09:51:34 pm by cherimoya_kid |
|||
The downside of raw paleo, tiredness?
Started by Charlie4444 « 1 2 3 » |
74 Replies
34,179 Views |
August 14, 2012, 12:25:51 pm by cherimoya_kid |
||
warning - take this seriously
Started by Charlie4444 « 1 2 3 4 » |
77 Replies
31,357 Views |
July 21, 2012, 07:35:56 am by svrn |
||
ALL VACCINES are dangerous to human health. Reject them ALL.
Started by goodsamaritan « 1 2 3 4 » |
77 Replies
36,256 Views |
February 05, 2012, 11:44:37 pm by PaleoPhil |
||
89 Replies
38,325 Views |
September 27, 2010, 11:16:19 pm by pioneer |
|||
106 Replies
49,466 Views |
May 23, 2013, 04:51:11 am by LePatron7 |
|||
154 Replies
69,722 Views |
February 16, 2015, 03:27:02 pm by Inger |
|||
157 Replies
64,478 Views |
December 25, 2012, 08:13:04 am by Suiren |
|||
158 Replies
59,011 Views |
June 30, 2012, 09:36:52 pm by goodsamaritan |
|||
164 Replies
72,144 Views |
September 29, 2014, 07:57:34 am by PaleoPhil |
|||
229 Replies
114,416 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