/* * 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. | ||||
Stefansson's book online
Started by TylerDurden « 1 2 3 » |
68 Replies
79,263 Views |
January 05, 2018, 10:07:43 pm by Xisca |
||
11 Replies
22,358 Views |
June 17, 2018, 09:59:09 am by TylerDurden |
|||
0 Replies
18,007 Views |
October 18, 2010, 08:24:03 am by PaleoPhil |
|||
10 Replies
111,456 Views |
June 03, 2014, 06:59:44 pm by Snamisolnsew |
|||
226 Replies
82,563 Views |
April 16, 2010, 02:38:02 pm by Savage |
|||
Dangers of thawing and refreezing
Started by prehistorik « 1 2 » |
48 Replies
66,247 Views |
November 27, 2012, 10:23:33 pm by Lukthree |
||
124 Replies
56,355 Views |
January 12, 2010, 07:54:14 pm by TylerDurden |
|||
93 Replies
49,125 Views |
June 27, 2013, 06:22:10 am by Poncho |
|||
97 Replies
47,507 Views |
February 22, 2010, 05:11:12 am by PaleoPhil |
|||
How long does it take to clear excess protein from the blood?
Started by carnivorous « 1 2 3 4 » |
87 Replies
44,541 Views |
May 05, 2010, 04:06:35 am by Paleo Donk |
||
87 Replies
43,449 Views |
January 29, 2012, 12:40:24 pm by Joy2012 |
|||
72 Replies
42,661 Views |
May 09, 2011, 10:29:24 am by PaleoPhil |
|||
66 Replies
40,520 Views |
February 26, 2009, 04:41:30 am by Raw Kyle |
|||
62 Replies
39,091 Views |
August 12, 2016, 05:57:03 pm by cherimoya_kid |
|||
How many carbs to un-keto-adapt?
Started by SteakNchop « 1 2 3 » |
73 Replies
38,372 Views |
January 29, 2011, 10:35:47 am by sabertooth |
||
36 Replies
36,485 Views |
August 27, 2012, 05:40:15 pm by Suiren |
|||
81 Replies
36,070 Views |
May 06, 2016, 05:27:39 am by panacea |
|||
50 Replies
34,644 Views |
May 05, 2011, 01:58:58 am by Löwenherz |
|||
Frothy and bubbly urine
Started by carnivorous |
12 Replies
30,759 Views |
June 25, 2010, 04:52:55 pm by King Salmon |
||
42 Replies
29,729 Views |
June 25, 2011, 06:16:35 am by PaleoPhil |
|||
13 Replies
29,541 Views |
October 17, 2012, 01:36:32 pm by LePatron7 |
|||
64 Replies
27,578 Views |
January 04, 2010, 04:44:03 am by redfulcrum |
|||
66 Replies
27,129 Views |
February 18, 2010, 10:41:59 am by PaleoPhil |
|||
Current view on zero/low carb?
Started by a_real_man « 1 2 » |
40 Replies
26,910 Views |
October 27, 2019, 01:46:45 am by LoneWolf |
||
Undigested fat
Started by herboriste28 |
21 Replies
26,833 Views |
January 11, 2010, 06:22:17 pm by spear of destiny |
||
51 Replies
26,456 Views |
January 23, 2011, 07:31:53 am by PaleoPhil |
|||
34 Replies
26,420 Views |
September 09, 2017, 05:09:19 am by dariorpl |
|||
Unprocessed beef cuts and organs?
Started by panacea |
22 Replies
26,280 Views |
October 19, 2012, 10:30:30 am by cherimoya_kid |
||
73 Replies
26,263 Views |
April 06, 2013, 03:16:07 am by svrn |
|||
66 Replies
24,980 Views |
July 04, 2019, 03:30:53 am by Qondrar_The_Redeemer |
|||
fat to protein ratio
Started by yon yonson |
23 Replies
24,710 Views |
August 25, 2012, 12:21:25 am by Qodesh |
||
43 Replies
24,515 Views |
August 06, 2011, 12:59:25 am by magnetic |
|||
48 Replies
24,284 Views |
January 19, 2013, 12:40:14 pm by svrn |
|||
New here, various questions
Started by panacea |
13 Replies
23,012 Views |
October 14, 2012, 10:40:42 pm by Wolf |
||
Smelly Poop from Veg?
Started by PaleoPhil |
14 Replies
22,797 Views |
January 01, 2011, 06:07:03 am by PaleoPhil |
||
35 Replies
22,343 Views |
March 21, 2011, 01:11:08 am by Busgrw |
|||
33 Replies
21,873 Views |
May 17, 2011, 10:13:46 pm by Blueknight |
|||
55 Replies
21,769 Views |
September 30, 2010, 02:35:01 am by pioneer |
|||
43 Replies
21,559 Views |
July 19, 2010, 07:23:36 pm by Wolf |
|||
35 Replies
21,478 Views |
February 09, 2010, 10:27:45 am by PaleoPhil |
|||
Tapeworms? Salmonella?
Started by Dead Is the New Alive « 1 2 » |
36 Replies
21,168 Views |
January 24, 2010, 03:04:28 pm by RawZi |
||
46 Replies
21,009 Views |
September 20, 2009, 04:59:22 pm by TylerDurden |
|||
51 Replies
20,983 Views |
January 20, 2013, 11:39:00 am by Poncho |
|||
Raw Liver?
Started by sleepstalker « 1 2 » |
27 Replies
20,891 Views |
January 30, 2010, 08:38:13 pm by Stig of the Dump |
||
27 Replies
20,810 Views |
March 10, 2014, 05:10:36 am by Iguana |
|||
Raw meat diet= socially unacceptable?!
Started by passive357 « 1 2 » |
39 Replies
20,634 Views |
December 27, 2010, 11:32:07 pm by TrueCarnivore |
||
My experience of eating raw meat
Started by common_sense « 1 2 » |
33 Replies
20,588 Views |
October 09, 2015, 12:34:24 am by common_sense |
||
38 Replies
20,325 Views |
July 18, 2010, 09:11:29 pm by Wolf |
|||
25 Replies
19,473 Views |
July 30, 2010, 03:14:47 am by Savage |
|||
38 Replies
19,259 Views |
July 23, 2010, 12:22:04 pm by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll