/* * 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 88 Guests are viewing this board. | ||||
![]() |
![]() |
8 Replies
13,138 Views |
![]() by roony |
|
![]() |
![]() |
45 Replies
31,588 Views |
![]() by TylerDurden |
|
![]() |
![]() |
11 Replies
6,901 Views |
![]() by William |
|
![]() |
![]() |
8 Replies
7,851 Views |
![]() by roony |
|
![]() |
![]() |
52 Replies
26,146 Views |
![]() by roony |
|
![]() |
![]() |
0 Replies
2,444 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
3,072 Views |
![]() by roony |
|
![]() |
![]() |
Are Locusts a Paleo Food to Eat?
Started by RawZi |
4 Replies
4,061 Views |
![]() by Dwight |
![]() |
![]() |
34 Replies
17,518 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Mrs Thatcher's Diet
Started by TylerDurden |
8 Replies
5,259 Views |
![]() by TylerDurden |
![]() |
![]() |
Sick topic
Started by TylerDurden |
23 Replies
13,960 Views |
![]() by TylerDurden |
![]() |
![]() |
70 Replies
34,074 Views |
![]() by roony |
|
![]() |
![]() |
Evolutionary benefits of cooking?
Started by Sitting Coyote « 1 2 » |
34 Replies
19,678 Views |
![]() by TylerDurden |
![]() |
![]() |
Canadian Pemmican
Started by PaleoPhil |
9 Replies
9,719 Views |
![]() by invisible |
![]() |
![]() |
who's "the bear"
Started by JaX |
16 Replies
10,911 Views |
![]() by carnivore |
![]() |
![]() |
2 Replies
3,109 Views |
![]() by majormark |
|
![]() |
![]() |
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,542 Views |
![]() by goodsamaritan |
![]() |
![]() |
Dietary Fiber & Volume of Digestive Tract.
Started by miles |
5 Replies
4,254 Views |
![]() by TylerDurden |
![]() |
![]() |
The dodgy Weston Price
Started by TylerDurden « 1 2 3 » |
68 Replies
41,096 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,607 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,237 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,328 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Tallow concerns
Started by William |
13 Replies
8,054 Views |
![]() by cherimoya_kid |
![]() |
![]() |
1 Replies
2,570 Views |
![]() by carnivore |
|
![]() |
![]() |
38 Replies
15,964 Views |
![]() by kurite |
|
![]() |
![]() |
Grassfed Beef Heart
Started by Permasprout |
6 Replies
8,978 Views |
![]() by RawZi |
![]() |
![]() |
Evolution
Started by William |
10 Replies
6,707 Views |
![]() by William |
![]() |
![]() |
25 Replies
18,271 Views |
![]() by aunaturale |
|
![]() |
![]() |
We are somethingawfuls link of the day
Started by High-king |
14 Replies
7,839 Views |
![]() by High-king |
![]() |
![]() |
4 Replies
4,413 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
3,301 Views |
![]() by kurite |
|
![]() |
![]() |
truth. you shall find.
Started by aunaturale |
10 Replies
7,581 Views |
![]() by wodgina |
![]() |
![]() |
1 Replies
3,638 Views |
![]() by KD |
|
![]() |
![]() |
WOW! Watch this tapeworm video.
Started by chucky |
1 Replies
3,108 Views |
![]() by miles |
![]() |
![]() |
6 Replies
6,457 Views |
![]() by sevenpoints |
|
![]() |
![]() |
57 Replies
38,402 Views |
![]() by William |
|
![]() |
![]() |
Re: What if you just dont like red meat?
Started by William |
3 Replies
3,150 Views |
![]() by William |
![]() |
![]() |
Another Dairy Topic
Started by yon yonson « 1 2 » |
30 Replies
15,946 Views |
![]() by RawZi |
![]() |
![]() |
Raw vegans eat raw grains?
Started by kurite |
5 Replies
10,408 Views |
![]() by RawZi |
![]() |
![]() |
Canabilism..?
Started by intouchwithinstinct |
15 Replies
11,263 Views |
![]() by William |
![]() |
![]() |
16 Replies
21,480 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
69 Replies
35,129 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
The aquatic ape theory?
Started by kurite |
4 Replies
3,825 Views |
![]() by TylerDurden |
![]() |
![]() |
10 Replies
7,105 Views |
![]() by TylerDurden |
|
![]() |
![]() |
30 Replies
15,291 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,625 Views |
![]() by TylerDurden |
|
![]() |
![]() |
39 Replies
20,457 Views |
![]() by TruthHunter |
|
![]() |
![]() |
Re: Eat pemmican and get atherosclerosis!
Started by William |
1 Replies
2,396 Views |
![]() by RawZi |
![]() |
![]() |
Crossfit Athletes
Started by kurite |
9 Replies
5,939 Views |
![]() by RawZi |
![]() |
![]() |
1 Replies
2,509 Views |
![]() by William |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll