/* * 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 133 Guests are viewing this board. | ||||
![]() |
![]() |
Eggs- women vs men
Started by CuredMeat |
6 Replies
8,369 Views |
![]() by roony |
![]() |
![]() |
New Aajonus DVD available
Started by TylerDurden |
3 Replies
4,960 Views |
![]() by sanborn |
![]() |
![]() |
4 Replies
5,080 Views |
![]() by sanborn |
|
![]() |
![]() |
How to eat beef Tongues?
Started by herboriste28 |
1 Replies
3,363 Views |
![]() by TylerDurden |
![]() |
![]() |
Prime Rib, duration of aging
Started by redfulcrum |
1 Replies
3,846 Views |
![]() by William |
![]() |
![]() |
32 Replies
22,772 Views |
![]() by raw |
|
![]() |
![]() |
Aajonus Making Appearances
Started by Waungata |
11 Replies
11,223 Views |
![]() by raw |
![]() |
![]() |
12 Replies
10,165 Views |
![]() by djr_81 |
|
![]() |
![]() |
Aajonus New conspiracy theory
Started by TylerDurden |
2 Replies
4,509 Views |
![]() by RawZi |
![]() |
![]() |
12 Replies
16,244 Views |
![]() by van |
|
![]() |
![]() |
1 Replies
4,300 Views |
![]() by RawZi |
|
![]() |
![]() |
Raw Milk Question
Started by sleepstalker |
4 Replies
5,839 Views |
![]() by van |
![]() |
![]() |
8 Replies
9,670 Views |
![]() by Raw in Florida |
|
![]() |
![]() |
Message from AV: Re Swine Flu
Started by Raw in Florida |
1 Replies
4,041 Views |
![]() by Roselene |
![]() |
![]() |
New community website
Started by TylerDurden |
0 Replies
2,999 Views |
![]() by TylerDurden |
![]() |
![]() |
7 Replies
13,142 Views |
![]() by RawZi |
|
![]() |
![]() |
Getting "high" on high meats/fats
Started by PaleoPhil |
3 Replies
4,697 Views |
![]() by reyyzl |
![]() |
![]() |
1 Replies
4,097 Views |
![]() by Raw in Florida |
|
![]() |
![]() |
Lemon/lime juice and sensitive teeth
Started by Westley |
2 Replies
5,278 Views |
![]() by Furion |
![]() |
![]() |
Car Sickness
Started by Roselene |
3 Replies
4,516 Views |
![]() by Roselene |
![]() |
![]() |
0 Replies
3,989 Views |
![]() by reyyzl |
|
![]() |
![]() |
17 Replies
26,702 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
47 Replies
40,091 Views |
![]() by carnivore |
|
![]() |
![]() |
6 Replies
8,125 Views |
![]() by RawZi |
|
![]() |
![]() |
More Aajonus future meetings
Started by TylerDurden |
0 Replies
3,103 Views |
![]() by TylerDurden |
![]() |
![]() |
Aajonus' trip to Australia
Started by TylerDurden |
0 Replies
3,020 Views |
![]() by TylerDurden |
![]() |
![]() |
Aajonus Message
Started by TylerDurden |
3 Replies
5,310 Views |
![]() by glennm01 |
![]() |
![]() |
New Primal Diet Social Network
Started by TylerDurden |
7 Replies
38,113 Views |
![]() by Roselene |
![]() |
![]() |
12 Replies
9,036 Views |
![]() by jeanneji |
|
![]() |
![]() |
Which book(s) should I buy?
Started by Realist |
5 Replies
5,815 Views |
![]() by TylerDurden |
![]() |
![]() |
What to bring while traveling
Started by jeanneji |
6 Replies
5,925 Views |
![]() by jeanneji |
![]() |
![]() |
0 Replies
3,765 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Why Did You Quit the Primal diet
Started by JaX |
13 Replies
13,500 Views |
![]() by TylerDurden |
![]() |
![]() |
Interesting raw milk campaign
Started by TylerDurden |
1 Replies
3,876 Views |
![]() by avalon |
![]() |
![]() |
Detox from Ground beef?
Started by CuredMeat |
16 Replies
17,231 Views |
![]() by Furion |
![]() |
![]() |
Primal Diet Story
Started by wodgina |
10 Replies
10,177 Views |
![]() by RawZi |
![]() |
![]() |
Questions from Newbie
Started by CuredMeat |
9 Replies
9,251 Views |
![]() by RawZi |
![]() |
![]() |
5 Replies
6,956 Views |
![]() by davidg |
|
![]() |
![]() |
Organic Pastures
Started by Squall |
3 Replies
5,093 Views |
![]() by PaleoKyle |
![]() |
![]() |
13 Replies
11,798 Views |
![]() by seesawsemiology |
|
![]() |
![]() |
2 Replies
4,507 Views |
![]() by boxcarguy07 |
|
![]() |
![]() |
2 Replies
4,529 Views |
![]() by sanborn |
|
![]() |
![]() |
Article about the Primal Diet
Started by TylerDurden |
0 Replies
3,649 Views |
![]() by TylerDurden |
![]() |
![]() |
Excellent Read
Started by Metallica |
2 Replies
4,789 Views |
![]() by goodsamaritan |
![]() |
![]() |
Documentary on Paleo Diets and RAF
Started by AnneClaire |
0 Replies
4,454 Views |
![]() by AnneClaire |
![]() |
![]() |
Aajonus' views on meat
Started by TheWayCreatesTheWarrior |
7 Replies
10,071 Views |
![]() by Raw Kyle |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll