/* * 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 1268 Guests are viewing this board. | ||||
![]() |
![]() |
21 Replies
14,278 Views |
![]() by The Barbarian |
|
![]() |
![]() |
Are we hard core health hobbyists?
Started by goodsamaritan |
12 Replies
8,767 Views |
![]() by goodsamaritan |
![]() |
![]() |
More on IBD
Started by Jayce |
13 Replies
10,359 Views |
![]() by Raw Rob |
![]() |
![]() |
Nightshades affect Arthritis, no doubt...
Started by Raw Rob |
5 Replies
7,935 Views |
![]() by LakeWorth33460 |
![]() |
![]() |
1 Replies
4,417 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Allergies
Started by boxcarguy07 |
10 Replies
12,350 Views |
![]() by SuperInfinity |
![]() |
![]() |
1 Replies
3,765 Views |
![]() by William |
|
![]() |
![]() |
Vitamin A Toxicity
Started by protoject |
9 Replies
12,199 Views |
![]() by RawZi |
![]() |
![]() |
Cholesterol Query
Started by SkinnyDevil |
4 Replies
4,660 Views |
![]() by William |
![]() |
![]() |
6 Replies
6,034 Views |
![]() by Roselene |
|
![]() |
![]() |
Myth Busting: Salmonella
Started by goodsamaritan |
4 Replies
5,556 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
3,370 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
4,765 Views |
![]() by William |
|
![]() |
![]() |
migraines caused by high carb?
Started by chris h laing « 1 2 3 » |
52 Replies
32,891 Views |
![]() by TylerDurden |
![]() |
![]() |
Receding Gumlines
Started by Squall |
7 Replies
9,470 Views |
![]() by PaleoPhil |
![]() |
![]() |
11 Replies
10,609 Views |
![]() by Guittarman03 |
|
![]() |
![]() |
People with cramps
Started by Josh |
7 Replies
7,672 Views |
![]() by TylerDurden |
![]() |
![]() |
bleeding gums
Started by whitebuffalo |
23 Replies
20,271 Views |
![]() by hellwe20 |
![]() |
![]() |
RPD & STDs
Started by primaD |
17 Replies
16,261 Views |
![]() by Spear768 |
![]() |
![]() |
Post-Surgery and Scars
Started by OldeSword |
3 Replies
8,331 Views |
![]() by letifer |
![]() |
![]() |
8 Replies
12,482 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
4,816 Views |
![]() by ANDREAS |
|
![]() |
![]() |
3 Replies
4,830 Views |
![]() by Tundra |
|
![]() |
![]() |
Polycystic Ovarian Syndrome
Started by bluesky |
4 Replies
9,765 Views |
![]() by RawZi |
![]() |
![]() |
Parasites
Started by Guittarman03 |
12 Replies
18,197 Views |
![]() by Raw Rob |
![]() |
![]() |
43 Replies
28,738 Views |
![]() by TylerDurden |
|
![]() |
![]() |
MOVED: Cooked meat and health
Started by TylerDurden |
0 Replies
5,108 Views |
![]() by TylerDurden |
![]() |
![]() |
19 Replies
19,546 Views |
![]() by RawZi |
|
![]() |
![]() |
5 Replies
8,008 Views |
![]() by Satya |
|
![]() |
![]() |
the alchemy of eating
Started by coconinoz |
8 Replies
9,737 Views |
![]() by Sully |
![]() |
![]() |
Sugar craving cure?
Started by bluesandteals |
10 Replies
11,460 Views |
![]() by lex_rooker |
![]() |
![]() |
Cramping problems are getting worse!
Started by carnivore |
17 Replies
15,955 Views |
![]() by William |
![]() |
![]() |
Salami - and nitrate
Started by Sarav |
11 Replies
13,462 Views |
![]() by TylerDurden |
![]() |
![]() |
Muscle Soreness / Cramps
Started by Guittarman03 |
4 Replies
7,296 Views |
![]() by coconinoz |
![]() |
![]() |
Food Poisoning?
Started by Guittarman03 |
7 Replies
10,098 Views |
![]() by Guittarman03 |
![]() |
![]() |
Why does raw meat make me sleep better?
Started by Satya |
4 Replies
6,998 Views |
![]() by reyyzl |
![]() |
![]() |
0 Replies
5,415 Views |
![]() by rawlion |
|
![]() |
![]() |
slipped disc
Started by Tim |
6 Replies
8,901 Views |
![]() by Guittarman03 |
![]() |
![]() |
19 Replies
17,288 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
2 Replies
6,643 Views |
![]() by Kristelle |
|
![]() |
![]() |
chlorine detox
Started by Satya |
0 Replies
6,024 Views |
![]() by Satya |
![]() |
![]() |
Back Injury
Started by xylothrill |
13 Replies
12,412 Views |
![]() by xylothrill |
![]() |
![]() |
Recommended Tests?
Started by akaikumo |
2 Replies
6,742 Views |
![]() by akaikumo |
![]() |
![]() |
Testimonial
Started by TylerDurden |
2 Replies
11,218 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll