/* * 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 78 Guests are viewing this board. | ||||
![]() |
![]() |
8 Replies
13,150 Views |
![]() by roony |
|
![]() |
![]() |
45 Replies
31,683 Views |
![]() by TylerDurden |
|
![]() |
![]() |
11 Replies
6,914 Views |
![]() by William |
|
![]() |
![]() |
8 Replies
7,858 Views |
![]() by roony |
|
![]() |
![]() |
52 Replies
26,214 Views |
![]() by roony |
|
![]() |
![]() |
0 Replies
2,449 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
3,077 Views |
![]() by roony |
|
![]() |
![]() |
Are Locusts a Paleo Food to Eat?
Started by RawZi |
4 Replies
4,070 Views |
![]() by Dwight |
![]() |
![]() |
34 Replies
17,565 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Mrs Thatcher's Diet
Started by TylerDurden |
8 Replies
5,278 Views |
![]() by TylerDurden |
![]() |
![]() |
Sick topic
Started by TylerDurden |
23 Replies
14,001 Views |
![]() by TylerDurden |
![]() |
![]() |
70 Replies
34,166 Views |
![]() by roony |
|
![]() |
![]() |
Evolutionary benefits of cooking?
Started by Sitting Coyote « 1 2 » |
34 Replies
19,732 Views |
![]() by TylerDurden |
![]() |
![]() |
Canadian Pemmican
Started by PaleoPhil |
9 Replies
9,737 Views |
![]() by invisible |
![]() |
![]() |
who's "the bear"
Started by JaX |
16 Replies
10,935 Views |
![]() by carnivore |
![]() |
![]() |
2 Replies
3,113 Views |
![]() by majormark |
|
![]() |
![]() |
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,546 Views |
![]() by goodsamaritan |
![]() |
![]() |
Dietary Fiber & Volume of Digestive Tract.
Started by miles |
5 Replies
4,264 Views |
![]() by TylerDurden |
![]() |
![]() |
The dodgy Weston Price
Started by TylerDurden « 1 2 3 » |
68 Replies
41,203 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,613 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,243 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,333 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Tallow concerns
Started by William |
13 Replies
8,086 Views |
![]() by cherimoya_kid |
![]() |
![]() |
1 Replies
2,573 Views |
![]() by carnivore |
|
![]() |
![]() |
38 Replies
15,997 Views |
![]() by kurite |
|
![]() |
![]() |
Grassfed Beef Heart
Started by Permasprout |
6 Replies
8,984 Views |
![]() by RawZi |
![]() |
![]() |
Evolution
Started by William |
10 Replies
6,726 Views |
![]() by William |
![]() |
![]() |
25 Replies
18,299 Views |
![]() by aunaturale |
|
![]() |
![]() |
We are somethingawfuls link of the day
Started by High-king |
14 Replies
7,855 Views |
![]() by High-king |
![]() |
![]() |
4 Replies
4,422 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
3,307 Views |
![]() by kurite |
|
![]() |
![]() |
truth. you shall find.
Started by aunaturale |
10 Replies
7,605 Views |
![]() by wodgina |
![]() |
![]() |
1 Replies
3,643 Views |
![]() by KD |
|
![]() |
![]() |
WOW! Watch this tapeworm video.
Started by chucky |
1 Replies
3,111 Views |
![]() by miles |
![]() |
![]() |
6 Replies
6,464 Views |
![]() by sevenpoints |
|
![]() |
![]() |
57 Replies
38,477 Views |
![]() by William |
|
![]() |
![]() |
Re: What if you just dont like red meat?
Started by William |
3 Replies
3,155 Views |
![]() by William |
![]() |
![]() |
Another Dairy Topic
Started by yon yonson « 1 2 » |
30 Replies
15,978 Views |
![]() by RawZi |
![]() |
![]() |
Raw vegans eat raw grains?
Started by kurite |
5 Replies
10,419 Views |
![]() by RawZi |
![]() |
![]() |
Canabilism..?
Started by intouchwithinstinct |
15 Replies
11,289 Views |
![]() by William |
![]() |
![]() |
16 Replies
21,493 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
69 Replies
35,213 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
The aquatic ape theory?
Started by kurite |
4 Replies
3,834 Views |
![]() by TylerDurden |
![]() |
![]() |
10 Replies
7,115 Views |
![]() by TylerDurden |
|
![]() |
![]() |
30 Replies
15,327 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,628 Views |
![]() by TylerDurden |
|
![]() |
![]() |
39 Replies
20,493 Views |
![]() by TruthHunter |
|
![]() |
![]() |
Re: Eat pemmican and get atherosclerosis!
Started by William |
1 Replies
2,400 Views |
![]() by RawZi |
![]() |
![]() |
Crossfit Athletes
Started by kurite |
9 Replies
5,943 Views |
![]() by RawZi |
![]() |
![]() |
1 Replies
2,511 Views |
![]() by William |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll