/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 42 Guests are viewing this board. | ||||
![]() |
![]() |
25 Replies
13,375 Views |
![]() by svrn |
|
![]() |
![]() |
2 Replies
3,871 Views |
![]() by raw |
|
![]() |
![]() |
Vegetarians age faster
Started by Nicola |
1 Replies
5,208 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
482 Replies
371,597 Views |
![]() by dariorpl |
|
![]() |
![]() |
Video - Dr. Ed Connaughtunon discusses raw paleo diet
Started by xylothrill |
0 Replies
6,513 Views |
![]() by xylothrill |
![]() |
![]() |
Video - Who Owns The Word Organic ?
Started by RawZi |
1 Replies
2,851 Views |
![]() by pc701 |
![]() |
![]() |
0 Replies
5,825 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
5,745 Views |
![]() by xylothrill |
|
![]() |
![]() |
3 Replies
5,582 Views |
![]() by norawnofun |
|
![]() |
![]() |
Vitamin C and carnivorism
Started by xylothrill |
19 Replies
36,998 Views |
![]() by Xisca |
![]() |
![]() |
Watch the Movie King Corn
Started by goodsamaritan |
7 Replies
7,114 Views |
![]() by Cavecloth.com |
![]() |
![]() |
Website Broken
Started by ! |
2 Replies
6,093 Views |
![]() by TylerDurden |
![]() |
![]() |
WHAT'S BONE MEAL AND HOW IT'S MADE
Started by raw |
7 Replies
9,358 Views |
![]() by DeadRamones |
![]() |
![]() |
Where Have all the Cowboys Gone (Russia?)
Started by sabertooth « 1 2 3 » |
67 Replies
45,198 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
3,999 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Why drinking water is bad.
Started by kurite |
22 Replies
14,100 Views |
![]() by KD |
![]() |
![]() |
2 Replies
3,244 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Wild foods
Started by Aura |
12 Replies
8,793 Views |
![]() by cherimoya_kid |
![]() |
![]() |
3 Replies
6,854 Views |
![]() by eveheart |
|
![]() |
![]() |
6 Replies
6,321 Views |
![]() by sabertooth |
|
![]() |
![]() |
12 Replies
14,036 Views |
![]() by FRANCIS HOWARD BOND |
|
![]() |
![]() |
0 Replies
2,752 Views |
![]() by seesawsemiology |
|
![]() |
![]() |
5 Replies
5,225 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
7,034 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Youtube video of high-meat eating
Started by TylerDurden |
3 Replies
4,015 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,899 Views |
![]() by jessica |
|
![]() |
![]() |
Zero Health Risks from GMO Meme
Started by goodsamaritan |
17 Replies
15,330 Views |
![]() by ys |
![]() |
![]() |
2 Replies
4,331 Views |
![]() by bookittyrun |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll