/* * 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 15 Guests are viewing this board. | ||||
![]() |
![]() |
An Example Menu
Started by Fermenter Zym |
13 Replies
11,682 Views |
![]() by FoxWoman |
![]() |
![]() |
2 Replies
7,790 Views |
![]() by Josh |
|
![]() |
![]() |
sweet potato raw tastes good
Started by bharminder |
10 Replies
12,709 Views |
![]() by bharminder |
![]() |
![]() |
28 Replies
18,875 Views |
![]() by turkish |
|
![]() |
![]() |
eating animal fat
Started by rjawad |
8 Replies
7,990 Views |
![]() by bharminder |
![]() |
![]() |
4 Replies
6,282 Views |
![]() by TylerDurden |
|
![]() |
![]() |
33 Replies
23,857 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
8 Replies
6,238 Views |
![]() by jennie |
|
![]() |
![]() |
Starting out with budget...
Started by riy freeman |
21 Replies
14,137 Views |
![]() by bharminder |
![]() |
![]() |
3 Replies
6,251 Views |
![]() by MoonStalkeR |
|
![]() |
![]() |
weight ratios of protein to fat?
Started by dsohei |
0 Replies
3,263 Views |
![]() by dsohei |
![]() |
![]() |
What is the issue with Nightshades?
Started by technosmith |
11 Replies
10,225 Views |
![]() by Hannibal |
![]() |
![]() |
Young or mature ROOT vegetables?
Started by bharminder |
6 Replies
7,170 Views |
![]() by bharminder |
![]() |
![]() |
6 Replies
8,729 Views |
![]() by yon yonson |
|
![]() |
![]() |
20 Replies
32,740 Views |
![]() by donrad |
|
![]() |
![]() |
16 Replies
18,786 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
Can you recommend some books?
Started by Cinna |
12 Replies
14,765 Views |
![]() by Iguana |
![]() |
![]() |
What's toxic, what's not?
Started by Iguana |
5 Replies
9,682 Views |
![]() by Iguana |
![]() |
![]() |
My notions on the wonder diet
Started by ug |
2 Replies
5,848 Views |
![]() by RawZi |
![]() |
![]() |
46 Replies
45,720 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
Carol Alt talks about being Raw Omni
Started by dsohei |
3 Replies
6,940 Views |
![]() by PaganAngel |
![]() |
![]() |
22 Replies
23,884 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
Calorie count
Started by RawGuy99 |
4 Replies
8,591 Views |
![]() by RawGuy99 |
![]() |
![]() |
Macadamia nuts
Started by Taste Sense « 1 2 » |
40 Replies
51,915 Views |
![]() by KD |
![]() |
![]() |
How much meat and how much fruit?
Started by Haai |
23 Replies
25,255 Views |
![]() by Hannibal |
![]() |
![]() |
56 Replies
52,398 Views |
![]() by MrBBQ |
|
![]() |
![]() |
UK - Raw Nuts
Started by miles |
7 Replies
9,300 Views |
![]() by Michael |
![]() |
![]() |
texas persimmon
Started by yon yonson |
2 Replies
4,295 Views |
![]() by yon yonson |
![]() |
![]() |
Increasing fat/oil intake
Started by Haai |
12 Replies
10,359 Views |
![]() by RawZi |
![]() |
![]() |
Newbie Mc'Newb here.
Started by RawGuy99 |
10 Replies
8,408 Views |
![]() by RawGuy99 |
![]() |
![]() |
attn. parents! need some advice
Started by shannon |
18 Replies
11,450 Views |
![]() by Michael |
![]() |
![]() |
16 Replies
14,726 Views |
![]() by Sully |
|
![]() |
![]() |
25 Replies
42,346 Views |
![]() by Michael |
|
![]() |
![]() |
5 Replies
7,498 Views |
![]() by infinitenexus |
|
![]() |
![]() |
MOVED: Garbage and abuse
Started by Iguana |
0 Replies
2,835 Views |
![]() by Iguana |
![]() |
![]() |
Foraging in The UK/Ireland
Started by Brady |
7 Replies
8,561 Views |
![]() by TylerDurden |
![]() |
![]() |
How do you wash your produce?
Started by kurite |
6 Replies
5,452 Views |
![]() by shannon |
![]() |
![]() |
Why am I always so tired after eating fruit?
Started by ForTheHunt « 1 2 3 » |
54 Replies
68,089 Views |
![]() by Sully |
![]() |
![]() |
Study re (raw)berries
Started by TylerDurden |
6 Replies
5,383 Views |
![]() by raw-al |
![]() |
![]() |
Anyone Try All Fat?
Started by King Salmon |
4 Replies
4,839 Views |
![]() by raw-al |
![]() |
![]() |
Gelatin?
Started by King Salmon |
1 Replies
4,498 Views |
![]() by TylerDurden |
![]() |
![]() |
Nuts vs Seeds ?
Started by NEUROSPORT |
5 Replies
6,486 Views |
![]() by Sully |
![]() |
![]() |
flu-like symptoms
Started by ug |
2 Replies
5,388 Views |
![]() by kurite |
![]() |
![]() |
4 Replies
8,164 Views |
![]() by dsohei |
|
![]() |
![]() |
Potato dinner replacement?
Started by Wolf |
12 Replies
8,980 Views |
![]() by Wolf |
![]() |
![]() |
5 Replies
5,260 Views |
![]() by earthling |
|
![]() |
![]() |
A Few Questions
Started by onekingreigns |
20 Replies
13,310 Views |
![]() by RawZi |
![]() |
![]() |
38 Replies
24,854 Views |
![]() by Hannibal |
|
![]() |
![]() |
Sugar snap peas?
Started by kurite |
1 Replies
6,372 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
8,455 Views |
![]() by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll