/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 51 Guests are viewing this board. | ||||
![]() |
![]() |
Question for Raw Dairy Drinkers
Started by TylerDurden |
5 Replies
9,681 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Raw butter question
Started by marcuspaleo |
3 Replies
6,639 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Raw Food and Bone Broth
Started by Fermenter Zym « 1 2 » |
39 Replies
40,481 Views |
![]() by Projectile Vomit |
![]() |
![]() |
Raw Milk Mayhem
Started by magnetic |
4 Replies
8,158 Views |
![]() by RawZi |
![]() |
![]() |
5 Replies
13,029 Views |
![]() by Roselene |
|
![]() |
![]() |
Raw milk vs raw milks Kefir
Started by HIT_it_RAW |
10 Replies
17,070 Views |
![]() by Dorothy |
![]() |
![]() |
12 Replies
12,318 Views |
![]() by alphagruis |
|
![]() |
![]() |
stock made with clam shells?
Started by shannon |
2 Replies
5,438 Views |
![]() by RawZi |
![]() |
![]() |
Strictly Meat and Milk
Started by Coatue |
14 Replies
15,787 Views |
![]() by SteakNchop |
![]() |
![]() |
3 Replies
4,302 Views |
![]() by IonSurfer |
|
![]() |
![]() |
17 Replies
21,567 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
The most overrated book ever written
Started by fuggles |
9 Replies
9,466 Views |
![]() by wodgina |
![]() |
![]() |
6 Replies
11,051 Views |
![]() by RawZi |
|
![]() |
![]() |
30 Replies
31,186 Views |
![]() by political atheist |
|
![]() |
![]() |
4 Replies
8,195 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Website: Modern Nomadic Man
Started by zeno |
0 Replies
6,714 Views |
![]() by zeno |
![]() |
![]() |
weston a price censored
Started by svrn |
12 Replies
14,167 Views |
![]() by Dorothy |
![]() |
![]() |
Weston Price Foundation: Magnesium
Started by LePatron7 |
2 Replies
6,650 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Weston Price Foundation: Salt
Started by LePatron7 |
17 Replies
22,007 Views |
![]() by Iguana |
![]() |
![]() |
11 Replies
10,003 Views |
![]() by sven |
|
![]() |
![]() |
Weston Price's X-Factor: Vitamin K2
Started by LePatron7 |
4 Replies
8,389 Views |
![]() by cherimoya_kid |
![]() |
![]() |
What About the Hunza
Started by political atheist |
6 Replies
8,010 Views |
![]() by TylerDurden |
![]() |
![]() |
What is the Weston Price Diet?
Started by Zack |
9 Replies
11,434 Views |
![]() by political atheist |
![]() |
![]() |
Where does he mention homosexuality
Started by ster546464@yahoo.co.uk « 1 2 3 4 » |
97 Replies
85,439 Views |
![]() by sabertooth |
![]() |
![]() |
35 Replies
31,208 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll