/* * 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 96 Guests are viewing this board. | ||||
![]() |
![]() |
18 Replies
10,477 Views |
![]() by Hannibal |
|
![]() |
![]() |
DurianRider
Started by ForTheHunt « 1 2 » |
30 Replies
20,781 Views |
![]() by miles |
![]() |
![]() |
13 Replies
9,556 Views |
![]() by raw |
|
![]() |
![]() |
1 Replies
2,572 Views |
![]() by William |
|
![]() |
![]() |
Crossfit Athletes
Started by kurite |
9 Replies
6,081 Views |
![]() by RawZi |
![]() |
![]() |
Re: Eat pemmican and get atherosclerosis!
Started by William |
1 Replies
2,481 Views |
![]() by RawZi |
![]() |
![]() |
39 Replies
21,094 Views |
![]() by TruthHunter |
|
![]() |
![]() |
0 Replies
2,686 Views |
![]() by TylerDurden |
|
![]() |
![]() |
30 Replies
15,851 Views |
![]() by TylerDurden |
|
![]() |
![]() |
10 Replies
7,277 Views |
![]() by TylerDurden |
|
![]() |
![]() |
The aquatic ape theory?
Started by kurite |
4 Replies
3,917 Views |
![]() by TylerDurden |
![]() |
![]() |
69 Replies
36,223 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
16 Replies
21,697 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Canabilism..?
Started by intouchwithinstinct |
15 Replies
11,718 Views |
![]() by William |
![]() |
![]() |
Raw vegans eat raw grains?
Started by kurite |
5 Replies
10,579 Views |
![]() by RawZi |
![]() |
![]() |
Another Dairy Topic
Started by yon yonson « 1 2 » |
30 Replies
16,415 Views |
![]() by RawZi |
![]() |
![]() |
Re: What if you just dont like red meat?
Started by William |
3 Replies
3,247 Views |
![]() by William |
![]() |
![]() |
57 Replies
39,483 Views |
![]() by William |
|
![]() |
![]() |
6 Replies
6,599 Views |
![]() by sevenpoints |
|
![]() |
![]() |
WOW! Watch this tapeworm video.
Started by chucky |
1 Replies
3,174 Views |
![]() by miles |
![]() |
![]() |
1 Replies
3,721 Views |
![]() by KD |
|
![]() |
![]() |
truth. you shall find.
Started by aunaturale |
10 Replies
7,760 Views |
![]() by wodgina |
![]() |
![]() |
1 Replies
3,366 Views |
![]() by kurite |
|
![]() |
![]() |
4 Replies
4,565 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
We are somethingawfuls link of the day
Started by High-king |
14 Replies
8,103 Views |
![]() by High-king |
![]() |
![]() |
25 Replies
18,638 Views |
![]() by aunaturale |
|
![]() |
![]() |
Evolution
Started by William |
10 Replies
6,960 Views |
![]() by William |
![]() |
![]() |
Grassfed Beef Heart
Started by Permasprout |
6 Replies
9,084 Views |
![]() by RawZi |
![]() |
![]() |
38 Replies
16,440 Views |
![]() by kurite |
|
![]() |
![]() |
1 Replies
2,635 Views |
![]() by carnivore |
|
![]() |
![]() |
Tallow concerns
Started by William |
13 Replies
8,358 Views |
![]() by cherimoya_kid |
![]() |
![]() |
0 Replies
2,387 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,299 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,664 Views |
![]() by TylerDurden |
|
![]() |
![]() |
The dodgy Weston Price
Started by TylerDurden « 1 2 3 » |
68 Replies
42,318 Views |
![]() by TylerDurden |
![]() |
![]() |
Dietary Fiber & Volume of Digestive Tract.
Started by miles |
5 Replies
4,373 Views |
![]() by TylerDurden |
![]() |
![]() |
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,603 Views |
![]() by goodsamaritan |
![]() |
![]() |
2 Replies
3,179 Views |
![]() by majormark |
|
![]() |
![]() |
who's "the bear"
Started by JaX |
16 Replies
11,221 Views |
![]() by carnivore |
![]() |
![]() |
Canadian Pemmican
Started by PaleoPhil |
9 Replies
9,852 Views |
![]() by invisible |
![]() |
![]() |
Evolutionary benefits of cooking?
Started by Sitting Coyote « 1 2 » |
34 Replies
20,320 Views |
![]() by TylerDurden |
![]() |
![]() |
70 Replies
35,209 Views |
![]() by roony |
|
![]() |
![]() |
Sick topic
Started by TylerDurden |
23 Replies
14,440 Views |
![]() by TylerDurden |
![]() |
![]() |
Mrs Thatcher's Diet
Started by TylerDurden |
8 Replies
5,433 Views |
![]() by TylerDurden |
![]() |
![]() |
34 Replies
18,045 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Are Locusts a Paleo Food to Eat?
Started by RawZi |
4 Replies
4,182 Views |
![]() by Dwight |
![]() |
![]() |
0 Replies
3,138 Views |
![]() by roony |
|
![]() |
![]() |
0 Replies
2,502 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
52 Replies
27,011 Views |
![]() by roony |
|
![]() |
![]() |
8 Replies
7,938 Views |
![]() by roony |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll