/* * 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 435 Guests are viewing this board. | ||||
![]() |
![]() |
An Example Menu
Started by Fermenter Zym |
13 Replies
11,591 Views |
![]() by FoxWoman |
![]() |
![]() |
2 Replies
7,757 Views |
![]() by Josh |
|
![]() |
![]() |
sweet potato raw tastes good
Started by bharminder |
10 Replies
12,614 Views |
![]() by bharminder |
![]() |
![]() |
28 Replies
18,652 Views |
![]() by turkish |
|
![]() |
![]() |
eating animal fat
Started by rjawad |
8 Replies
7,901 Views |
![]() by bharminder |
![]() |
![]() |
4 Replies
6,191 Views |
![]() by TylerDurden |
|
![]() |
![]() |
33 Replies
23,311 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
8 Replies
6,108 Views |
![]() by jennie |
|
![]() |
![]() |
Starting out with budget...
Started by riy freeman |
21 Replies
13,976 Views |
![]() by bharminder |
![]() |
![]() |
3 Replies
6,200 Views |
![]() by MoonStalkeR |
|
![]() |
![]() |
weight ratios of protein to fat?
Started by dsohei |
0 Replies
3,226 Views |
![]() by dsohei |
![]() |
![]() |
What is the issue with Nightshades?
Started by technosmith |
11 Replies
10,145 Views |
![]() by Hannibal |
![]() |
![]() |
Young or mature ROOT vegetables?
Started by bharminder |
6 Replies
7,110 Views |
![]() by bharminder |
![]() |
![]() |
6 Replies
8,635 Views |
![]() by yon yonson |
|
![]() |
![]() |
20 Replies
32,615 Views |
![]() by donrad |
|
![]() |
![]() |
16 Replies
18,669 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
Can you recommend some books?
Started by Cinna |
12 Replies
14,634 Views |
![]() by Iguana |
![]() |
![]() |
What's toxic, what's not?
Started by Iguana |
5 Replies
9,589 Views |
![]() by Iguana |
![]() |
![]() |
My notions on the wonder diet
Started by ug |
2 Replies
5,778 Views |
![]() by RawZi |
![]() |
![]() |
46 Replies
45,381 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
Carol Alt talks about being Raw Omni
Started by dsohei |
3 Replies
6,830 Views |
![]() by PaganAngel |
![]() |
![]() |
22 Replies
23,529 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
Calorie count
Started by RawGuy99 |
4 Replies
8,505 Views |
![]() by RawGuy99 |
![]() |
![]() |
Macadamia nuts
Started by Taste Sense « 1 2 » |
40 Replies
51,599 Views |
![]() by KD |
![]() |
![]() |
How much meat and how much fruit?
Started by Haai |
23 Replies
25,017 Views |
![]() by Hannibal |
![]() |
![]() |
56 Replies
52,022 Views |
![]() by MrBBQ |
|
![]() |
![]() |
UK - Raw Nuts
Started by miles |
7 Replies
9,143 Views |
![]() by Michael |
![]() |
![]() |
texas persimmon
Started by yon yonson |
2 Replies
4,243 Views |
![]() by yon yonson |
![]() |
![]() |
Increasing fat/oil intake
Started by Haai |
12 Replies
10,233 Views |
![]() by RawZi |
![]() |
![]() |
Newbie Mc'Newb here.
Started by RawGuy99 |
10 Replies
8,225 Views |
![]() by RawGuy99 |
![]() |
![]() |
attn. parents! need some advice
Started by shannon |
18 Replies
11,215 Views |
![]() by Michael |
![]() |
![]() |
16 Replies
14,511 Views |
![]() by Sully |
|
![]() |
![]() |
25 Replies
41,485 Views |
![]() by Michael |
|
![]() |
![]() |
5 Replies
7,395 Views |
![]() by infinitenexus |
|
![]() |
![]() |
MOVED: Garbage and abuse
Started by Iguana |
0 Replies
2,779 Views |
![]() by Iguana |
![]() |
![]() |
Foraging in The UK/Ireland
Started by Brady |
7 Replies
8,470 Views |
![]() by TylerDurden |
![]() |
![]() |
How do you wash your produce?
Started by kurite |
6 Replies
5,401 Views |
![]() by shannon |
![]() |
![]() |
Why am I always so tired after eating fruit?
Started by ForTheHunt « 1 2 3 » |
54 Replies
67,714 Views |
![]() by Sully |
![]() |
![]() |
Study re (raw)berries
Started by TylerDurden |
6 Replies
5,302 Views |
![]() by raw-al |
![]() |
![]() |
Anyone Try All Fat?
Started by King Salmon |
4 Replies
4,785 Views |
![]() by raw-al |
![]() |
![]() |
Gelatin?
Started by King Salmon |
1 Replies
4,460 Views |
![]() by TylerDurden |
![]() |
![]() |
Nuts vs Seeds ?
Started by NEUROSPORT |
5 Replies
6,432 Views |
![]() by Sully |
![]() |
![]() |
flu-like symptoms
Started by ug |
2 Replies
5,348 Views |
![]() by kurite |
![]() |
![]() |
4 Replies
8,115 Views |
![]() by dsohei |
|
![]() |
![]() |
Potato dinner replacement?
Started by Wolf |
12 Replies
8,878 Views |
![]() by Wolf |
![]() |
![]() |
5 Replies
5,159 Views |
![]() by earthling |
|
![]() |
![]() |
A Few Questions
Started by onekingreigns |
20 Replies
12,986 Views |
![]() by RawZi |
![]() |
![]() |
38 Replies
24,456 Views |
![]() by Hannibal |
|
![]() |
![]() |
Sugar snap peas?
Started by kurite |
1 Replies
6,324 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
8,413 Views |
![]() by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll