/* * 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 102 Guests are viewing this board. | ||||
![]() |
![]() |
7 Replies
5,402 Views |
![]() by Roselene |
|
![]() |
![]() |
78 Replies
33,158 Views |
![]() by Suiren |
|
![]() |
![]() |
4 Replies
4,299 Views |
![]() by sabertooth |
|
![]() |
![]() |
8 Replies
5,558 Views |
![]() by van |
|
![]() |
![]() |
5 Replies
4,938 Views |
![]() by NuclearKnight |
|
![]() |
![]() |
16 Replies
11,790 Views |
![]() by nummi |
|
![]() |
![]() |
53 Replies
34,671 Views |
![]() by A_Tribe_Called_Paleo |
|
![]() |
![]() |
Hangover treatment recommendations?
Started by ontheroadnyc |
9 Replies
7,618 Views |
![]() by proteus |
![]() |
![]() |
The least toxic (cooked) junk food.
Started by PaganGoy |
18 Replies
10,051 Views |
![]() by van |
![]() |
![]() |
0 Replies
2,230 Views |
![]() by PaganGoy |
|
![]() |
![]() |
If God gave you the perfect diet?
Started by Paleo Donk |
2 Replies
3,020 Views |
![]() by Stig of the Dump |
![]() |
![]() |
Blood - The most overlooked nutrient?
Started by Paleo Donk « 1 2 3 » |
57 Replies
27,848 Views |
![]() by sabertooth |
![]() |
![]() |
18 Replies
10,445 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
10 Replies
7,226 Views |
![]() by invisible |
|
![]() |
![]() |
Do you live forever on a rpd?
Started by Paleo Donk « 1 2 3 » |
53 Replies
30,580 Views |
![]() by RawZi |
![]() |
![]() |
1 Replies
3,623 Views |
![]() by KD |
|
![]() |
![]() |
Appetite when eating cooked food
Started by Paleo Donk « 1 2 » |
29 Replies
15,341 Views |
![]() by Hannibal |
![]() |
![]() |
6 Replies
5,790 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,436 Views |
![]() by Paleo Donk |
|
![]() |
![]() |
13 Replies
9,931 Views |
![]() by KD |
|
![]() |
![]() |
12 Replies
8,417 Views |
![]() by Dorothy |
|
![]() |
![]() |
40 Replies
21,088 Views |
![]() by svrn |
|
![]() |
![]() |
2 Replies
2,960 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Canadian Pemmican
Started by PaleoPhil |
9 Replies
9,698 Views |
![]() by invisible |
![]() |
![]() |
26 Replies
13,542 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
15 Replies
8,656 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
When Did Cooking Start?
Started by PaleoPhil |
15 Replies
9,985 Views |
![]() by Dwight |
![]() |
![]() |
79 Replies
36,151 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Qesem Cave Site New Finding
Started by PaleoPhil |
7 Replies
7,179 Views |
![]() by PaleoPhil |
![]() |
![]() |
250 Replies
171,763 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
15 Replies
12,753 Views |
![]() by TylerDurden |
|
![]() |
![]() |
45 Replies
31,513 Views |
![]() by TylerDurden |
|
![]() |
![]() |
134 Replies
63,430 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
1 Replies
3,286 Views |
![]() by kurite |
|
![]() |
![]() |
3 Replies
3,137 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
29 Replies
19,406 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
80 Replies
46,573 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
You can Vote for Paleo Diet
Started by PaleoPhil |
7 Replies
6,442 Views |
![]() by PaleoPhil |
![]() |
![]() |
19 Replies
9,451 Views |
![]() by jessica |
|
![]() |
![]() |
39 Replies
19,365 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
11 Replies
7,895 Views |
![]() by alphagruis |
|
![]() |
![]() |
6 Replies
6,357 Views |
![]() by RawZi |
|
![]() |
![]() |
Paleo stories book
Started by paleosummer |
0 Replies
2,191 Views |
![]() by paleosummer |
![]() |
![]() |
4 Replies
4,382 Views |
![]() by daniellew123 |
|
![]() |
![]() |
6 Replies
3,856 Views |
![]() by Iguana |
|
![]() |
![]() |
Best BBQ foods
Started by Pammie |
4 Replies
3,553 Views |
![]() by Iguana |
![]() |
![]() |
Survey on diets and health
Started by payal punjabi |
0 Replies
3,808 Views |
![]() by payal punjabi |
![]() |
![]() |
49 Replies
23,196 Views |
![]() by DeadRamones |
|
![]() |
![]() |
28 Replies
17,404 Views |
![]() by invisible |
|
![]() |
![]() |
39 Replies
20,405 Views |
![]() by TruthHunter |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll