/* * 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 125 Guests are viewing this board. | ||||
![]() |
![]() |
Inuit Video: How to eat Frozen Fish?
Started by zaidi |
0 Replies
2,371 Views |
![]() by zaidi |
![]() |
![]() |
Urgent: What to do in Appendicitis
Started by zaidi |
19 Replies
12,676 Views |
![]() by Dorothy |
![]() |
![]() |
Grassfed Suet better than Wild Suet?
Started by zaidi |
17 Replies
9,929 Views |
![]() by svrn |
![]() |
![]() |
6 Replies
6,726 Views |
![]() by eveheart |
|
![]() |
![]() |
3 Replies
2,670 Views |
![]() by zaidi |
|
![]() |
![]() |
Fat to Protein Ratio Ready Made Chart
Started by zaidi |
3 Replies
3,379 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
3 Replies
3,152 Views |
![]() by Löwenherz |
|
![]() |
![]() |
Raw Paleo way of curing Fever and Flu
Started by zaidi |
5 Replies
4,201 Views |
![]() by zaidi |
![]() |
![]() |
1 Replies
2,346 Views |
![]() by moringa82 |
|
![]() |
![]() |
Redesigning food guide pyramid
Started by zbr5 |
15 Replies
10,797 Views |
![]() by KD |
![]() |
![]() |
How to start eating organs
Started by zbr5 |
9 Replies
5,949 Views |
![]() by goodsamaritan |
![]() |
![]() |
27 Replies
15,465 Views |
![]() by Inger |
|
![]() |
![]() |
This Man Thinks He Never Has to Eat Again
Started by zbr5 |
1 Replies
2,640 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Help me find one member of this forum pls
Started by zbr5 |
4 Replies
2,850 Views |
![]() by zbr5 |
![]() |
![]() |
Why natural tribes don't eat raw?
Started by zbr5 |
2 Replies
2,473 Views |
![]() by Iguana |
![]() |
![]() |
16 Replies
9,772 Views |
![]() by zbr5 |
|
![]() |
![]() |
17 Replies
8,670 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Using a Sweat Lodge for Detoxification
Started by zeno |
1 Replies
2,517 Views |
![]() by jessica |
![]() |
![]() |
Paleo Approved Inc.
Started by zeno |
1 Replies
2,245 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Incorporating Raw Vinegar in Daily Diet
Started by zeno |
9 Replies
8,030 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
2,426 Views |
![]() by Fermenter Zym |
|
![]() |
![]() |
Blood Test Recommendations
Started by zeno |
3 Replies
3,139 Views |
![]() by sabertooth |
![]() |
![]() |
Methodology of Structuring One's Diet
Started by zeno |
3 Replies
2,862 Views |
![]() by sabertooth |
![]() |
![]() |
Danger of Overthinking/Obsession
Started by zeno |
12 Replies
6,389 Views |
![]() by balancing-act |
![]() |
![]() |
Honey and Infants
Started by zeno |
15 Replies
9,018 Views |
![]() by raw-al |
![]() |
![]() |
Food Safe Utensil, Cutlery Alternatives
Started by zeno |
10 Replies
6,250 Views |
![]() by Dorothy |
![]() |
![]() |
Too Much Organ Meat?
Started by zeno |
19 Replies
14,362 Views |
![]() by zaidi |
![]() |
![]() |
Resources for Curing Meat
Started by zeno |
0 Replies
2,410 Views |
![]() by zeno |
![]() |
![]() |
1 Replies
2,802 Views |
![]() by RawZi |
|
![]() |
![]() |
12 Replies
9,366 Views |
![]() by personman |
|
![]() |
![]() |
Cleansing and a Raw Paleo Diet
Started by zeno |
9 Replies
9,387 Views |
![]() by zeno |
![]() |
![]() |
Tales of the Raw Meat Eater
Started by zeno |
8 Replies
5,766 Views |
![]() by zeno |
![]() |
![]() |
How long does suet last?
Started by zetsyuk |
2 Replies
9,203 Views |
![]() by PaleoPhil |
![]() |
![]() |
Eating insects
Started by zyrcona |
7 Replies
5,757 Views |
![]() by Barefoot Instincto |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll