/* * 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 25 Guests are viewing this board. | ||||
![]() |
![]() |
Coming back
Started by boxcarguy07 |
8 Replies
4,224 Views |
![]() by billy4184 |
![]() |
![]() |
recovering ex-fruitarian
Started by balancing-act |
16 Replies
9,265 Views |
![]() by balancing-act |
![]() |
![]() |
New to Raw Paleo
Started by QueenC |
5 Replies
3,377 Views |
![]() by Löwenherz |
![]() |
![]() |
Just Another Newbie
Started by MartyD |
17 Replies
8,853 Views |
![]() by djr_81 |
![]() |
![]() |
Hello to everyone!
Started by Intoit |
1 Replies
2,077 Views |
![]() by TylerDurden |
![]() |
![]() |
Saying Hello
Started by RAW12 |
12 Replies
5,302 Views |
![]() by RAW12 |
![]() |
![]() |
EXTREMELY new.....hello
Started by Tooterbelle |
13 Replies
6,785 Views |
![]() by Dorothy |
![]() |
![]() |
Tried Paleo for one month...
Started by laece |
19 Replies
10,446 Views |
![]() by dmoffett |
![]() |
![]() |
0 Replies
1,908 Views |
![]() by dmoffett |
|
![]() |
![]() |
It is nice to meet you!
Started by Muhammad.Sunshine |
1 Replies
1,978 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hi everybody
Started by Rawlatina |
3 Replies
2,497 Views |
![]() by RawZi |
![]() |
![]() |
Hi's and hellos!
Started by sherylrays |
4 Replies
2,446 Views |
![]() by CitrusHigh |
![]() |
![]() |
Mabuhay (greetings) from the Philippines!
Started by thejsap |
1 Replies
2,131 Views |
![]() by cherimoya_kid |
![]() |
![]() |
9 Replies
6,072 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
raw paleo for facial eczema
Started by zetsyuk |
8 Replies
5,234 Views |
![]() by RogueFarmer |
![]() |
![]() |
New to raw animal foods
Started by joej627 |
3 Replies
2,438 Views |
![]() by TylerDurden |
![]() |
![]() |
You all really are some of the best!
Started by MDee |
3 Replies
2,557 Views |
![]() by MDee |
![]() |
![]() |
1 Replies
2,190 Views |
![]() by lex_rooker |
|
![]() |
![]() |
5 Replies
3,413 Views |
![]() by eveheart |
|
![]() |
![]() |
going raw with a toddler...
Started by kofimama |
6 Replies
4,585 Views |
![]() by RawZi |
![]() |
![]() |
Kane: Primal to Raw Paleo
Started by Kane |
18 Replies
10,387 Views |
![]() by Kane |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,127 Views |
![]() by goodsamaritan |
![]() |
![]() |
My Story
Started by Tsurugi_Oni |
12 Replies
7,894 Views |
![]() by magnetic |
![]() |
![]() |
Hello Everyone
Started by veronica5000 |
5 Replies
3,905 Views |
![]() by Domitilla |
![]() |
![]() |
5 Replies
3,785 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
13 Replies
6,617 Views |
![]() by micelte |
|
![]() |
![]() |
3 Replies
5,374 Views |
![]() by raw-al |
|
![]() |
![]() |
Hello I am exploring the possibilities
Started by rentawitch |
8 Replies
4,772 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Hello everyone....!
Started by Ricky |
1 Replies
2,352 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Trying out raw paleo
Started by CaptainSparrow |
10 Replies
5,400 Views |
![]() by eveheart |
![]() |
![]() |
5 Replies
3,165 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello from reunion island
Started by papangue |
7 Replies
4,451 Views |
![]() by papangue |
![]() |
![]() |
Hello and long live the king
Started by bacchus |
5 Replies
3,845 Views |
![]() by bacchus |
![]() |
![]() |
Hi all!!!
Started by gregsashinsky |
7 Replies
4,394 Views |
![]() by Broderick5 |
![]() |
![]() |
13 Replies
10,454 Views |
![]() by zaidi |
|
![]() |
![]() |
8 Replies
6,327 Views |
![]() by Predator |
|
![]() |
![]() |
Hi, I'm new...
Started by Sally S. |
13 Replies
5,923 Views |
![]() by eveheart |
![]() |
![]() |
Hello to all
Started by kindredspirit23 |
8 Replies
3,922 Views |
![]() by CitrusHigh |
![]() |
![]() |
Getting Started
Started by csesuvra |
1 Replies
1,982 Views |
![]() by CitrusHigh |
![]() |
![]() |
17 Replies
9,469 Views |
![]() by Max |
|
![]() |
![]() |
Greetings and Salutations!
Started by Amris |
10 Replies
5,013 Views |
![]() by goodsamaritan |
![]() |
![]() |
One excited explorer from Finland
Started by DogToffee |
4 Replies
3,543 Views |
![]() by goodsamaritan |
![]() |
![]() |
Introducing Eric
Started by Projectile Vomit |
5 Replies
3,025 Views |
![]() by wodgina |
![]() |
![]() |
Sources of Vitamin A, C, E, and Folate
Started by Techydude |
3 Replies
3,834 Views |
![]() by Blueknight |
![]() |
![]() |
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
3,069 Views |
![]() by zbr5 |
![]() |
![]() |
Bodybuilder Looking To Go Raw
Started by AJW91 |
7 Replies
5,102 Views |
![]() by TylerDurden |
![]() |
![]() |
18 Replies
8,736 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
4,067 Views |
![]() by ColeJames |
|
![]() |
![]() |
Salutations from a Recent Convert!
Started by zeno |
3 Replies
2,684 Views |
![]() by zeno |
![]() |
![]() |
hi
Started by elysianisis |
10 Replies
5,228 Views |
![]() by achillezzz |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll