/* * 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 34 Guests are viewing this board. | ||||
RAW Paleo pride?
Started by Sorentus |
1 Replies
1,781 Views |
March 24, 2014, 01:48:44 pm by goodsamaritan |
||
5 Replies
3,452 Views |
March 22, 2014, 12:31:50 am by Sorentus |
|||
3 Replies
1,827 Views |
March 21, 2014, 03:56:12 pm by Inger |
|||
Why natural tribes don't eat raw?
Started by zbr5 |
2 Replies
1,879 Views |
March 17, 2014, 04:38:27 am by Iguana |
||
8 Replies
8,556 Views |
March 11, 2014, 05:39:51 pm by goodsamaritan |
|||
Grainfed and grain-finished beef fat
Started by nummi |
2 Replies
1,800 Views |
March 08, 2014, 05:15:52 am by nummi |
||
Help me find one member of this forum pls
Started by zbr5 |
4 Replies
2,107 Views |
March 07, 2014, 06:49:06 pm by zbr5 |
||
3 Replies
3,455 Views |
March 07, 2014, 02:49:43 am by raw-al |
|||
17 Replies
7,080 Views |
March 06, 2014, 11:40:58 pm by micelte |
|||
5 Replies
8,006 Views |
March 05, 2014, 11:04:27 am by Sorentus |
|||
8 Replies
5,110 Views |
March 02, 2014, 08:50:17 pm by juvegede |
|||
Thyroid gland?
Started by Haai |
0 Replies
1,801 Views |
March 02, 2014, 10:14:19 am by Haai |
||
Did I accidentally create high meat?
Started by Z |
6 Replies
4,018 Views |
February 26, 2014, 05:32:15 pm by Inger |
||
10 Replies
7,247 Views |
February 25, 2014, 07:40:09 pm by LePatron7 |
|||
The Ideal Computer Posture / Chair
Started by panacea |
4 Replies
2,891 Views |
February 24, 2014, 02:22:01 pm by eveheart |
||
4 Replies
3,021 Views |
February 21, 2014, 10:34:01 am by Sorentus |
|||
1 Replies
1,593 Views |
February 21, 2014, 08:45:16 am by nummi |
|||
Is Pastured-fed pork healthy?
Started by Sorentus |
1 Replies
1,558 Views |
February 21, 2014, 08:08:31 am by eveheart |
||
4 Replies
2,164 Views |
February 20, 2014, 09:36:11 pm by Projectile Vomit |
|||
18 Replies
9,429 Views |
February 19, 2014, 04:05:56 am by raw-al |
|||
Raw honey in plastic?
Started by Spirit Bear |
4 Replies
4,276 Views |
February 18, 2014, 09:06:35 am by Sorentus |
||
5 Replies
5,029 Views |
February 17, 2014, 01:13:24 am by mors |
|||
Free Food and Medicine
Started by raw-al |
3 Replies
2,159 Views |
February 10, 2014, 01:30:55 am by raw-al |
||
0 Replies
1,817 Views |
February 09, 2014, 08:38:05 am by LePatron7 |
|||
soil, "grounding", nature.
Started by jessica |
3 Replies
2,652 Views |
February 06, 2014, 10:29:14 pm by jessica |
||
Gut bacteria
Started by technosmith « 1 2 3 » |
64 Replies
27,329 Views |
February 06, 2014, 08:02:30 pm by PaleoPhil |
||
2 Replies
2,050 Views |
February 06, 2014, 07:50:20 pm by Iguana |
|||
4 Replies
2,907 Views |
February 04, 2014, 12:18:02 pm by cherimoya_kid |
|||
Carbs and Spots (Acne)
Started by Isthmus |
8 Replies
7,607 Views |
February 04, 2014, 12:05:12 pm by cherimoya_kid |
||
Most ideal coconut oil??
Started by tests |
14 Replies
7,420 Views |
February 03, 2014, 11:27:27 am by Ioanna |
||
25 Replies
11,118 Views |
February 03, 2014, 06:16:51 am by tests |
|||
Ciguatera poisoning
Started by raw-al |
1 Replies
1,697 Views |
February 03, 2014, 04:30:21 am by cherimoya_kid |
||
44 Replies
19,799 Views |
February 01, 2014, 09:35:09 am by cherimoya_kid |
|||
The Raw and the Cooked
Started by Projectile Vomit |
9 Replies
4,602 Views |
January 30, 2014, 04:55:52 pm by TylerDurden |
||
Two questions! (buying and washing)
Started by AnopsStudier « 1 2 » |
26 Replies
10,388 Views |
January 28, 2014, 03:28:09 am by Iguana |
||
Article on the dangers of high heat cooking
Started by mango |
2 Replies
2,262 Views |
January 27, 2014, 03:28:25 pm by skinnycute |
||
1 Replies
1,710 Views |
January 25, 2014, 10:24:17 pm by cherimoya_kid |
|||
Why is meat predominantly cooked?
Started by cavebiatch |
10 Replies
5,231 Views |
January 24, 2014, 03:48:51 pm by Iguana |
||
19 Replies
7,873 Views |
January 20, 2014, 11:37:43 am by cherimoya_kid |
|||
6 Replies
2,747 Views |
January 17, 2014, 08:52:15 am by RogueFarmer |
|||
14 Replies
6,926 Views |
January 17, 2014, 02:51:00 am by van |
|||
49 Replies
23,390 Views |
January 11, 2014, 12:07:53 pm by raw-al |
|||
10 Replies
5,231 Views |
January 10, 2014, 09:53:43 am by PaleoPhil |
|||
Chicken labelling rules in USA
Started by raw-al |
1 Replies
1,503 Views |
January 10, 2014, 07:46:55 am by Projectile Vomit |
||
3 Replies
2,689 Views |
January 07, 2014, 09:51:22 pm by jessica |
|||
28 Replies
13,204 Views |
December 30, 2013, 11:26:34 am by cherimoya_kid |
|||
0 Replies
1,423 Views |
December 22, 2013, 04:28:42 am by PaulPaleo |
|||
0 Replies
1,741 Views |
December 17, 2013, 12:25:27 am by jessica |
|||
104 Replies
56,943 Views |
December 15, 2013, 04:17:33 am by PaleoPhil |
|||
Mega dosing iodine
Started by LePatron7 |
22 Replies
14,799 Views |
December 15, 2013, 02:28:36 am by LePatron7 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll