/* * 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 33 Guests are viewing this board. | ||||
![]() |
![]() |
21 Replies
13,913 Views |
![]() by The Barbarian |
|
![]() |
![]() |
Are we hard core health hobbyists?
Started by goodsamaritan |
12 Replies
8,590 Views |
![]() by goodsamaritan |
![]() |
![]() |
More on IBD
Started by Jayce |
13 Replies
10,073 Views |
![]() by Raw Rob |
![]() |
![]() |
Nightshades affect Arthritis, no doubt...
Started by Raw Rob |
5 Replies
7,780 Views |
![]() by LakeWorth33460 |
![]() |
![]() |
1 Replies
4,299 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Allergies
Started by boxcarguy07 |
10 Replies
11,709 Views |
![]() by SuperInfinity |
![]() |
![]() |
1 Replies
3,648 Views |
![]() by William |
|
![]() |
![]() |
Vitamin A Toxicity
Started by protoject |
9 Replies
11,657 Views |
![]() by RawZi |
![]() |
![]() |
Cholesterol Query
Started by SkinnyDevil |
4 Replies
4,515 Views |
![]() by William |
![]() |
![]() |
6 Replies
5,850 Views |
![]() by Roselene |
|
![]() |
![]() |
Myth Busting: Salmonella
Started by goodsamaritan |
4 Replies
5,452 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
3,302 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
4,646 Views |
![]() by William |
|
![]() |
![]() |
migraines caused by high carb?
Started by chris h laing « 1 2 3 » |
52 Replies
31,672 Views |
![]() by TylerDurden |
![]() |
![]() |
Receding Gumlines
Started by Squall |
7 Replies
9,170 Views |
![]() by PaleoPhil |
![]() |
![]() |
11 Replies
10,239 Views |
![]() by Guittarman03 |
|
![]() |
![]() |
People with cramps
Started by Josh |
7 Replies
7,433 Views |
![]() by TylerDurden |
![]() |
![]() |
bleeding gums
Started by whitebuffalo |
23 Replies
19,509 Views |
![]() by hellwe20 |
![]() |
![]() |
RPD & STDs
Started by primaD |
17 Replies
15,600 Views |
![]() by Spear768 |
![]() |
![]() |
Post-Surgery and Scars
Started by OldeSword |
3 Replies
7,920 Views |
![]() by letifer |
![]() |
![]() |
8 Replies
11,953 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
4,684 Views |
![]() by ANDREAS |
|
![]() |
![]() |
3 Replies
4,698 Views |
![]() by Tundra |
|
![]() |
![]() |
Polycystic Ovarian Syndrome
Started by bluesky |
4 Replies
9,383 Views |
![]() by RawZi |
![]() |
![]() |
Parasites
Started by Guittarman03 |
12 Replies
17,605 Views |
![]() by Raw Rob |
![]() |
![]() |
43 Replies
27,505 Views |
![]() by TylerDurden |
|
![]() |
![]() |
MOVED: Cooked meat and health
Started by TylerDurden |
0 Replies
4,797 Views |
![]() by TylerDurden |
![]() |
![]() |
19 Replies
18,861 Views |
![]() by RawZi |
|
![]() |
![]() |
5 Replies
7,577 Views |
![]() by Satya |
|
![]() |
![]() |
the alchemy of eating
Started by coconinoz |
8 Replies
9,268 Views |
![]() by Sully |
![]() |
![]() |
Sugar craving cure?
Started by bluesandteals |
10 Replies
10,987 Views |
![]() by lex_rooker |
![]() |
![]() |
Cramping problems are getting worse!
Started by carnivore |
17 Replies
15,261 Views |
![]() by William |
![]() |
![]() |
Salami - and nitrate
Started by Sarav |
11 Replies
12,876 Views |
![]() by TylerDurden |
![]() |
![]() |
Muscle Soreness / Cramps
Started by Guittarman03 |
4 Replies
6,926 Views |
![]() by coconinoz |
![]() |
![]() |
Food Poisoning?
Started by Guittarman03 |
7 Replies
9,686 Views |
![]() by Guittarman03 |
![]() |
![]() |
Why does raw meat make me sleep better?
Started by Satya |
4 Replies
6,548 Views |
![]() by reyyzl |
![]() |
![]() |
0 Replies
5,133 Views |
![]() by rawlion |
|
![]() |
![]() |
slipped disc
Started by Tim |
6 Replies
8,493 Views |
![]() by Guittarman03 |
![]() |
![]() |
19 Replies
16,483 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
2 Replies
6,320 Views |
![]() by Kristelle |
|
![]() |
![]() |
chlorine detox
Started by Satya |
0 Replies
5,757 Views |
![]() by Satya |
![]() |
![]() |
Back Injury
Started by xylothrill |
13 Replies
11,920 Views |
![]() by xylothrill |
![]() |
![]() |
Recommended Tests?
Started by akaikumo |
2 Replies
6,417 Views |
![]() by akaikumo |
![]() |
![]() |
Testimonial
Started by TylerDurden |
2 Replies
10,854 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll