/* * 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 534 Guests are viewing this board. | ||||
![]() |
![]() |
Joining the Paleo World
Started by falcongrl |
10 Replies
6,053 Views |
![]() by falcongrl |
![]() |
![]() |
Coming back
Started by boxcarguy07 |
8 Replies
5,098 Views |
![]() by billy4184 |
![]() |
![]() |
recovering ex-fruitarian
Started by balancing-act |
16 Replies
10,643 Views |
![]() by balancing-act |
![]() |
![]() |
New to Raw Paleo
Started by QueenC |
5 Replies
4,181 Views |
![]() by Löwenherz |
![]() |
![]() |
Just Another Newbie
Started by MartyD |
17 Replies
10,481 Views |
![]() by djr_81 |
![]() |
![]() |
Hello to everyone!
Started by Intoit |
1 Replies
2,598 Views |
![]() by TylerDurden |
![]() |
![]() |
Saying Hello
Started by RAW12 |
12 Replies
6,132 Views |
![]() by RAW12 |
![]() |
![]() |
EXTREMELY new.....hello
Started by Tooterbelle |
13 Replies
7,994 Views |
![]() by Dorothy |
![]() |
![]() |
Tried Paleo for one month...
Started by laece |
19 Replies
12,315 Views |
![]() by dmoffett |
![]() |
![]() |
0 Replies
2,417 Views |
![]() by dmoffett |
|
![]() |
![]() |
It is nice to meet you!
Started by Muhammad.Sunshine |
1 Replies
2,479 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hi everybody
Started by Rawlatina |
3 Replies
3,009 Views |
![]() by RawZi |
![]() |
![]() |
Hi's and hellos!
Started by sherylrays |
4 Replies
2,981 Views |
![]() by CitrusHigh |
![]() |
![]() |
Mabuhay (greetings) from the Philippines!
Started by thejsap |
1 Replies
2,659 Views |
![]() by cherimoya_kid |
![]() |
![]() |
9 Replies
7,068 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
raw paleo for facial eczema
Started by zetsyuk |
8 Replies
6,185 Views |
![]() by RogueFarmer |
![]() |
![]() |
New to raw animal foods
Started by joej627 |
3 Replies
2,976 Views |
![]() by TylerDurden |
![]() |
![]() |
You all really are some of the best!
Started by MDee |
3 Replies
3,120 Views |
![]() by MDee |
![]() |
![]() |
1 Replies
2,707 Views |
![]() by lex_rooker |
|
![]() |
![]() |
5 Replies
4,005 Views |
![]() by eveheart |
|
![]() |
![]() |
going raw with a toddler...
Started by kofimama |
6 Replies
5,250 Views |
![]() by RawZi |
![]() |
![]() |
Kane: Primal to Raw Paleo
Started by Kane |
18 Replies
12,369 Views |
![]() by Kane |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,852 Views |
![]() by goodsamaritan |
![]() |
![]() |
My Story
Started by Tsurugi_Oni |
12 Replies
9,213 Views |
![]() by magnetic |
![]() |
![]() |
Hello Everyone
Started by veronica5000 |
5 Replies
4,564 Views |
![]() by Domitilla |
![]() |
![]() |
5 Replies
4,415 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
13 Replies
7,448 Views |
![]() by micelte |
|
![]() |
![]() |
3 Replies
5,910 Views |
![]() by raw-al |
|
![]() |
![]() |
Hello I am exploring the possibilities
Started by rentawitch |
8 Replies
5,477 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Hello everyone....!
Started by Ricky |
1 Replies
2,832 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Trying out raw paleo
Started by CaptainSparrow |
10 Replies
6,161 Views |
![]() by eveheart |
![]() |
![]() |
5 Replies
3,760 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello from reunion island
Started by papangue |
7 Replies
5,154 Views |
![]() by papangue |
![]() |
![]() |
Hello and long live the king
Started by bacchus |
5 Replies
4,634 Views |
![]() by bacchus |
![]() |
![]() |
Hi all!!!
Started by gregsashinsky |
7 Replies
5,303 Views |
![]() by Broderick5 |
![]() |
![]() |
13 Replies
11,988 Views |
![]() by zaidi |
|
![]() |
![]() |
8 Replies
7,935 Views |
![]() by Predator |
|
![]() |
![]() |
Hi, I'm new...
Started by Sally S. |
13 Replies
7,548 Views |
![]() by eveheart |
![]() |
![]() |
Hello to all
Started by kindredspirit23 |
8 Replies
4,648 Views |
![]() by CitrusHigh |
![]() |
![]() |
Getting Started
Started by csesuvra |
1 Replies
2,505 Views |
![]() by CitrusHigh |
![]() |
![]() |
17 Replies
11,259 Views |
![]() by Max |
|
![]() |
![]() |
Greetings and Salutations!
Started by Amris |
10 Replies
6,162 Views |
![]() by goodsamaritan |
![]() |
![]() |
One excited explorer from Finland
Started by DogToffee |
4 Replies
4,143 Views |
![]() by goodsamaritan |
![]() |
![]() |
Introducing Eric
Started by Projectile Vomit |
5 Replies
3,655 Views |
![]() by wodgina |
![]() |
![]() |
Sources of Vitamin A, C, E, and Folate
Started by Techydude |
3 Replies
4,587 Views |
![]() by Blueknight |
![]() |
![]() |
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
3,760 Views |
![]() by zbr5 |
![]() |
![]() |
Bodybuilder Looking To Go Raw
Started by AJW91 |
7 Replies
6,234 Views |
![]() by TylerDurden |
![]() |
![]() |
18 Replies
10,857 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
4,966 Views |
![]() by ColeJames |
|
![]() |
![]() |
Salutations from a Recent Convert!
Started by zeno |
3 Replies
3,390 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll