/* * 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 483 Guests are viewing this board. | ||||
![]() |
![]() |
5 Replies
5,906 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
4 Replies
3,839 Views |
![]() by Brad462 |
|
![]() |
![]() |
32 Replies
17,878 Views |
![]() by RawZi |
|
![]() |
![]() |
Indeed, Size Matters
Started by raw-al |
6 Replies
4,258 Views |
![]() by raw-al |
![]() |
![]() |
27 Replies
13,155 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Eating cooked food akin to smoking??
Started by technosmith |
16 Replies
8,490 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Arguments against vegetariansim
Started by Coatue |
4 Replies
3,556 Views |
![]() by raw-al |
![]() |
![]() |
FDA is at it again, in bed with Big Pharma
Started by raw-al |
0 Replies
2,199 Views |
![]() by raw-al |
![]() |
![]() |
20 Replies
11,310 Views |
![]() by magnetic |
|
![]() |
![]() |
31 Replies
15,336 Views |
![]() by Dorothy |
|
![]() |
![]() |
Bisin preservative warning
Started by TylerDurden |
1 Replies
2,586 Views |
![]() by TylerDurden |
![]() |
![]() |
Pure Sprouted Wheat Bread?
Started by achillezzz |
10 Replies
12,977 Views |
![]() by nicole |
![]() |
![]() |
23 Replies
14,478 Views |
![]() by Wolf |
|
![]() |
![]() |
the best omega 3 supplement?
Started by achillezzz |
2 Replies
3,833 Views |
![]() by Dorothy |
![]() |
![]() |
Colonic Irrigation?
Started by Coatue |
6 Replies
7,280 Views |
![]() by Dorothy |
![]() |
![]() |
1 Replies
2,436 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Research into reducing salt-levels
Started by TylerDurden |
1 Replies
2,105 Views |
![]() by raw-al |
![]() |
![]() |
The Brain Power Cookbook
Started by awesomeame |
5 Replies
4,808 Views |
![]() by RawZi |
![]() |
![]() |
Omega-6: significant at what point?
Started by personman |
20 Replies
13,030 Views |
![]() by Dorothy |
![]() |
![]() |
Coriander kills bad e.coli!
Started by Löwenherz |
7 Replies
6,011 Views |
![]() by Dorothy |
![]() |
![]() |
20-month-old suckles on cow’s udder
Started by raw-al |
9 Replies
6,392 Views |
![]() by raw-al |
![]() |
![]() |
16 Replies
18,908 Views |
![]() by Hans89 |
|
![]() |
![]() |
Are humans true carnivores?
Started by RogueFarmer |
3 Replies
3,130 Views |
![]() by RogueFarmer |
![]() |
![]() |
Grains/Beans Healthy?
Started by joej627 |
2 Replies
2,485 Views |
![]() by TylerDurden |
![]() |
![]() |
14 Replies
7,968 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
The future of fast food article
Started by TylerDurden |
1 Replies
2,622 Views |
![]() by Dorothy |
![]() |
![]() |
Pop Science for Pop supplements
Started by KD |
3 Replies
2,874 Views |
![]() by Dorothy |
![]() |
![]() |
6 Replies
6,340 Views |
![]() by RawZi |
|
![]() |
![]() |
12 Replies
8,401 Views |
![]() by Dorothy |
|
![]() |
![]() |
Denmark Fat Tax
Started by TylerDurden |
8 Replies
4,751 Views |
![]() by raw-al |
![]() |
![]() |
7 Replies
5,999 Views |
![]() by Dorothy |
|
![]() |
![]() |
Diatomaceous earth
Started by jamiekelly |
4 Replies
4,330 Views |
![]() by raw-al |
![]() |
![]() |
2 Replies
2,746 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
0 Replies
2,076 Views |
![]() by Löwenherz |
|
![]() |
![]() |
Re: wheres roony
Started by raw-al |
2 Replies
2,847 Views |
![]() by RawZi |
![]() |
![]() |
Sushi
Started by TylerDurden |
0 Replies
2,448 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,080 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Article on Life Extension
Started by TylerDurden |
0 Replies
2,091 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,412 Views |
![]() by Dorothy |
|
![]() |
![]() |
Do you guys totally dismiss veganism as a healthy lifestyle?
Started by meat_juice « 1 2 » |
37 Replies
19,975 Views |
![]() by Dorothy |
![]() |
![]() |
3 Replies
2,636 Views |
![]() by TylerDurden |
|
![]() |
![]() |
How do you handle cravings?
Started by zbr5 |
7 Replies
5,136 Views |
![]() by RawZi |
![]() |
![]() |
4 Replies
4,266 Views |
![]() by Löwenherz |
|
![]() |
![]() |
17 Replies
10,995 Views |
![]() by TylerDurden |
|
![]() |
![]() |
159 Replies
76,648 Views |
![]() by Löwenherz |
|
![]() |
![]() |
Why are raw vegans so weak?
Started by meat_juice |
11 Replies
10,448 Views |
![]() by cherimoya_kid |
![]() |
![]() |
The role of starches in human history
Started by Löwenherz |
12 Replies
7,868 Views |
![]() by TylerDurden |
![]() |
![]() |
10 Replies
9,811 Views |
![]() by balancing-act |
|
![]() |
![]() |
62 Replies
27,689 Views |
![]() by RawZi |
|
![]() |
![]() |
23 Replies
16,873 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll