/* * 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 26 Guests are viewing this board. | ||||
![]() |
![]() |
New to the Paleo lifestyle
Started by Johnh |
1 Replies
1,982 Views |
![]() by TylerDurden |
![]() |
![]() |
15 Replies
6,127 Views |
![]() by kurite |
|
![]() |
![]() |
23 Replies
9,126 Views |
![]() by Iguana |
|
![]() |
![]() |
Hello everyone
Started by Josh |
3 Replies
2,833 Views |
![]() by goodsamaritan |
![]() |
![]() |
11 Replies
10,842 Views |
![]() by thetasig |
|
![]() |
![]() |
2 Replies
2,314 Views |
![]() by TylerDurden |
|
![]() |
![]() |
raw beginner
Started by justincase |
3 Replies
2,952 Views |
![]() by goodsamaritan |
![]() |
![]() |
46 Replies
21,328 Views |
![]() by Aura |
|
![]() |
![]() |
Kane: Primal to Raw Paleo
Started by Kane |
18 Replies
10,386 Views |
![]() by Kane |
![]() |
![]() |
hello- help with enamel issues?
Started by kanotim |
7 Replies
4,198 Views |
![]() by Michael |
![]() |
![]() |
1 Replies
3,005 Views |
![]() by TylerDurden |
|
![]() |
![]() |
28 Replies
11,998 Views |
![]() by KD |
|
![]() |
![]() |
Help needed for RPD-wannabe from Singapore!
Started by keith |
2 Replies
3,940 Views |
![]() by Igla |
![]() |
![]() |
new member from the philippines
Started by kelpguy |
1 Replies
2,972 Views |
![]() by goodsamaritan |
![]() |
![]() |
5 Replies
3,319 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello to all
Started by kindredspirit23 |
8 Replies
3,922 Views |
![]() by CitrusHigh |
![]() |
![]() |
Anyone in Vancouver?
Started by King Salmon |
1 Replies
2,192 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,392 Views |
![]() by Kingyonmedical |
|
![]() |
![]() |
Hello from Scotland
Started by Kittenki |
2 Replies
1,600 Views |
![]() by gomomo |
![]() |
![]() |
4 Replies
3,538 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
going raw with a toddler...
Started by kofimama |
6 Replies
4,585 Views |
![]() by RawZi |
![]() |
![]() |
2 Replies
2,531 Views |
![]() by KollektivDom |
|
![]() |
![]() |
Hellooooo! From the land of Oz.....
Started by Laddox |
5 Replies
2,880 Views |
![]() by Laddox |
![]() |
![]() |
Hi Everyone,
Started by Ladyjustice |
2 Replies
2,495 Views |
![]() by TylerDurden |
![]() |
![]() |
5 Replies
3,413 Views |
![]() by eveheart |
|
![]() |
![]() |
Tried Paleo for one month...
Started by laece |
19 Replies
10,446 Views |
![]() by dmoffett |
![]() |
![]() |
NEWBIE!!!! Q & A
Started by Lancelion |
18 Replies
7,692 Views |
![]() by Lancelion |
![]() |
![]() |
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
12,557 Views |
![]() by elysianisis |
![]() |
![]() |
Hi... I've just joined RPF
Started by laughing seed |
2 Replies
2,318 Views |
![]() by intrigued |
![]() |
![]() |
Newbie From Brazil
Started by leakybrain |
1 Replies
3,020 Views |
![]() by TylerDurden |
![]() |
![]() |
6 Replies
4,388 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
email of yahoo group
Started by LePatron7 |
2 Replies
2,383 Views |
![]() by LePatron7 |
![]() |
![]() |
Hello welcoming comitee!
Started by LePatron7 |
2 Replies
2,452 Views |
![]() by LePatron7 |
![]() |
![]() |
my banana concept
Started by LePatron7 |
4 Replies
3,203 Views |
![]() by LePatron7 |
![]() |
![]() |
9 Replies
5,693 Views |
![]() by gc |
|
![]() |
![]() |
Hi All
Started by lex_rooker |
17 Replies
10,038 Views |
![]() by lex_rooker |
![]() |
![]() |
Raw Vegan not practical
Started by LightzNY |
10 Replies
5,217 Views |
![]() by Cinna |
![]() |
![]() |
Hi! Salutations from spain
Started by Living all Raw |
16 Replies
8,621 Views |
![]() by magnetic |
![]() |
![]() |
Hello, introducing myself
Started by livingthelife |
4 Replies
3,427 Views |
![]() by reyyzl |
![]() |
![]() |
A warm Bula from Fiji
Started by Locuro |
10 Replies
5,030 Views |
![]() by Locuro |
![]() |
![]() |
Hi...
Started by longhairlover |
6 Replies
3,723 Views |
![]() by Adora |
![]() |
![]() |
Tips for transitioning to raw paleo?
Started by lorelf |
15 Replies
8,390 Views |
![]() by eveheart |
![]() |
![]() |
2 Replies
2,456 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
New raw paleo woman
Started by Louna |
8 Replies
4,526 Views |
![]() by TylerDurden |
![]() |
![]() |
Just want to say Hi.
Started by Lucidknight |
5 Replies
4,098 Views |
![]() by goodsamaritan |
![]() |
![]() |
Would like to thank everyody on this forum
Started by luis |
13 Replies
5,335 Views |
![]() by Stig of the Dump |
![]() |
![]() |
Greetings from Florida!
Started by Luis3valen |
2 Replies
2,333 Views |
![]() by TylerDurden |
![]() |
![]() |
38 Replies
14,020 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
What I Need To Do
Started by Lurch 51 |
2 Replies
2,536 Views |
![]() by achillezzz |
![]() |
![]() |
6 Replies
4,025 Views |
![]() by Satya |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll