/* * 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 32 Guests are viewing this board. | ||||
![]() |
![]() |
Getting back into the swing of things
Started by nicolegreen |
15 Replies
8,393 Views |
![]() by Ioanna |
![]() |
![]() |
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
15,623 Views |
![]() by elysianisis |
![]() |
![]() |
New with a beginner challenge
Started by alycia |
14 Replies
9,990 Views |
![]() by Ioanna |
![]() |
![]() |
hi
Started by elysianisis |
10 Replies
6,586 Views |
![]() by achillezzz |
![]() |
![]() |
Salutations from a Recent Convert!
Started by zeno |
3 Replies
3,461 Views |
![]() by zeno |
![]() |
![]() |
6 Replies
5,096 Views |
![]() by ColeJames |
|
![]() |
![]() |
18 Replies
11,130 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Bodybuilder Looking To Go Raw
Started by AJW91 |
7 Replies
6,363 Views |
![]() by TylerDurden |
![]() |
![]() |
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
3,886 Views |
![]() by zbr5 |
![]() |
![]() |
Sources of Vitamin A, C, E, and Folate
Started by Techydude |
3 Replies
4,669 Views |
![]() by Blueknight |
![]() |
![]() |
Introducing Eric
Started by Projectile Vomit |
5 Replies
3,707 Views |
![]() by wodgina |
![]() |
![]() |
One excited explorer from Finland
Started by DogToffee |
4 Replies
4,197 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings and Salutations!
Started by Amris |
10 Replies
6,271 Views |
![]() by goodsamaritan |
![]() |
![]() |
17 Replies
11,455 Views |
![]() by Max |
|
![]() |
![]() |
Getting Started
Started by csesuvra |
1 Replies
2,566 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hello to all
Started by kindredspirit23 |
8 Replies
4,817 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hi, I'm new...
Started by Sally S. |
13 Replies
7,703 Views |
![]() by eveheart |
![]() |
![]() |
8 Replies
8,113 Views |
![]() by Predator |
|
![]() |
![]() |
13 Replies
12,152 Views |
![]() by zaidi |
|
![]() |
![]() |
Hi all!!!
Started by gregsashinsky |
7 Replies
5,396 Views |
![]() by Broderick5 |
![]() |
![]() |
Hello and long live the king
Started by bacchus |
5 Replies
4,712 Views |
![]() by bacchus |
![]() |
![]() |
Hello from reunion island
Started by papangue |
7 Replies
5,270 Views |
![]() by papangue |
![]() |
![]() |
5 Replies
3,817 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Trying out raw paleo
Started by CaptainSparrow |
10 Replies
6,248 Views |
![]() by eveheart |
![]() |
![]() |
Hello everyone....!
Started by Ricky |
1 Replies
2,870 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Hello I am exploring the possibilities
Started by rentawitch |
8 Replies
5,538 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
3 Replies
5,956 Views |
![]() by raw-al |
|
![]() |
![]() |
13 Replies
7,567 Views |
![]() by micelte |
|
![]() |
![]() |
5 Replies
4,514 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Hello Everyone
Started by veronica5000 |
5 Replies
4,636 Views |
![]() by Domitilla |
![]() |
![]() |
My Story
Started by Tsurugi_Oni |
12 Replies
9,346 Views |
![]() by magnetic |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,943 Views |
![]() by goodsamaritan |
![]() |
![]() |
Kane: Primal to Raw Paleo
Started by Kane |
18 Replies
12,612 Views |
![]() by Kane |
![]() |
![]() |
going raw with a toddler...
Started by kofimama |
6 Replies
5,337 Views |
![]() by RawZi |
![]() |
![]() |
5 Replies
4,051 Views |
![]() by eveheart |
|
![]() |
![]() |
1 Replies
2,770 Views |
![]() by lex_rooker |
|
![]() |
![]() |
You all really are some of the best!
Started by MDee |
3 Replies
3,194 Views |
![]() by MDee |
![]() |
![]() |
New to raw animal foods
Started by joej627 |
3 Replies
3,084 Views |
![]() by TylerDurden |
![]() |
![]() |
raw paleo for facial eczema
Started by zetsyuk |
8 Replies
6,381 Views |
![]() by RogueFarmer |
![]() |
![]() |
9 Replies
7,238 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Mabuhay (greetings) from the Philippines!
Started by thejsap |
1 Replies
2,734 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hi's and hellos!
Started by sherylrays |
4 Replies
3,071 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hi everybody
Started by Rawlatina |
3 Replies
3,087 Views |
![]() by RawZi |
![]() |
![]() |
It is nice to meet you!
Started by Muhammad.Sunshine |
1 Replies
2,532 Views |
![]() by CitrusHigh |
![]() |
![]() |
0 Replies
2,457 Views |
![]() by dmoffett |
|
![]() |
![]() |
Tried Paleo for one month...
Started by laece |
19 Replies
12,571 Views |
![]() by dmoffett |
![]() |
![]() |
EXTREMELY new.....hello
Started by Tooterbelle |
13 Replies
8,127 Views |
![]() by Dorothy |
![]() |
![]() |
Saying Hello
Started by RAW12 |
12 Replies
6,220 Views |
![]() by RAW12 |
![]() |
![]() |
Hello to everyone!
Started by Intoit |
1 Replies
2,644 Views |
![]() by TylerDurden |
![]() |
![]() |
Just Another Newbie
Started by MartyD |
17 Replies
10,643 Views |
![]() by djr_81 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll