/* * 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 39 Guests are viewing this board. | ||||
|
|
An Example Menu
Started by Fermenter Zym |
13 Replies
13,381 Views |
by FoxWoman |
|
|
2 Replies
8,488 Views |
by Josh |
|
|
|
sweet potato raw tastes good
Started by bharminder |
10 Replies
14,235 Views |
by bharminder |
|
|
28 Replies
22,138 Views |
by turkish |
|
|
|
eating animal fat
Started by rjawad |
8 Replies
9,016 Views |
by bharminder |
|
|
4 Replies
7,013 Views |
by TylerDurden |
|
|
|
33 Replies
27,835 Views |
by PaleoPhil |
|
|
|
8 Replies
7,202 Views |
by jennie |
|
|
|
Starting out with budget...
Started by riy freeman |
21 Replies
16,070 Views |
by bharminder |
|
|
3 Replies
6,869 Views |
by MoonStalkeR |
|
|
|
weight ratios of protein to fat?
Started by dsohei |
0 Replies
3,901 Views |
by dsohei |
|
|
What is the issue with Nightshades?
Started by technosmith |
11 Replies
11,663 Views |
by Hannibal |
|
|
Young or mature ROOT vegetables?
Started by bharminder |
6 Replies
8,178 Views |
by bharminder |
|
|
6 Replies
9,811 Views |
by yon yonson |
|
|
|
20 Replies
34,859 Views |
by donrad |
|
|
|
16 Replies
21,582 Views |
by SkinnyDevil |
|
|
|
Can you recommend some books?
Started by Cinna |
12 Replies
16,429 Views |
by Iguana |
|
|
What's toxic, what's not?
Started by Iguana |
5 Replies
10,605 Views |
by Iguana |
|
|
My notions on the wonder diet
Started by ug |
2 Replies
6,633 Views |
by RawZi |
|
|
46 Replies
49,640 Views |
by the PresiDenT |
|
|
|
Carol Alt talks about being Raw Omni
Started by dsohei |
3 Replies
7,589 Views |
by PaganAngel |
|
|
22 Replies
26,154 Views |
by the PresiDenT |
|
|
|
Calorie count
Started by RawGuy99 |
4 Replies
9,339 Views |
by RawGuy99 |
|
|
Macadamia nuts
Started by Taste Sense « 1 2 » |
40 Replies
55,429 Views |
by KD |
|
|
How much meat and how much fruit?
Started by Haai |
23 Replies
26,916 Views |
by Hannibal |
|
|
56 Replies
56,249 Views |
by MrBBQ |
|
|
|
UK - Raw Nuts
Started by miles |
7 Replies
10,528 Views |
by Michael |
|
|
texas persimmon
Started by yon yonson |
2 Replies
4,973 Views |
by yon yonson |
|
|
Increasing fat/oil intake
Started by Haai |
12 Replies
11,658 Views |
by RawZi |
|
|
Newbie Mc'Newb here.
Started by RawGuy99 |
10 Replies
9,805 Views |
by RawGuy99 |
|
|
attn. parents! need some advice
Started by shannon |
18 Replies
13,009 Views |
by Michael |
|
|
16 Replies
16,367 Views |
by Sully |
|
|
|
25 Replies
47,735 Views |
by Michael |
|
|
|
5 Replies
8,382 Views |
by infinitenexus |
|
|
|
MOVED: Garbage and abuse
Started by Iguana |
0 Replies
3,291 Views |
by Iguana |
|
|
Foraging in The UK/Ireland
Started by Brady |
7 Replies
9,814 Views |
by TylerDurden |
|
|
How do you wash your produce?
Started by kurite |
6 Replies
6,266 Views |
by shannon |
|
|
Why am I always so tired after eating fruit?
Started by ForTheHunt « 1 2 3 » |
54 Replies
73,139 Views |
by Sully |
|
|
Study re (raw)berries
Started by TylerDurden |
6 Replies
6,281 Views |
by raw-al |
|
|
Anyone Try All Fat?
Started by King Salmon |
4 Replies
5,602 Views |
by raw-al |
|
|
Gelatin?
Started by King Salmon |
1 Replies
5,237 Views |
by TylerDurden |
|
|
Nuts vs Seeds ?
Started by NEUROSPORT |
5 Replies
7,459 Views |
by Sully |
|
|
flu-like symptoms
Started by ug |
2 Replies
5,956 Views |
by kurite |
|
|
4 Replies
8,952 Views |
by dsohei |
|
|
|
Potato dinner replacement?
Started by Wolf |
12 Replies
10,121 Views |
by Wolf |
|
|
5 Replies
6,263 Views |
by earthling |
|
|
|
A Few Questions
Started by onekingreigns |
20 Replies
15,763 Views |
by RawZi |
|
|
38 Replies
29,732 Views |
by Hannibal |
|
|
|
Sugar snap peas?
Started by kurite |
1 Replies
7,009 Views |
by TylerDurden |
|
|
1 Replies
9,089 Views |
by RawZi |
|
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll