/* * 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 ![]() |
Last post | ||
---|---|---|---|---|
0 Members and 66 Guests are viewing this board. | ||||
![]() |
![]() |
1 Replies
2,798 Views |
![]() by Dr. D |
|
![]() |
![]() |
1 Replies
2,174 Views |
![]() by raw-al |
|
![]() |
![]() |
Daniel Vitalis was right... about WATER
Started by kurite |
1 Replies
2,593 Views |
![]() by Löwenherz |
![]() |
![]() |
1 Replies
2,843 Views |
![]() by Aura |
|
![]() |
![]() |
1 Replies
3,303 Views |
![]() by kurite |
|
![]() |
![]() |
1 Replies
2,210 Views |
![]() by Dorothy |
|
![]() |
![]() |
Using Tanning Beds Safely
Started by Coatue |
1 Replies
2,795 Views |
![]() by blimpie |
![]() |
![]() |
Dean Cain Agent of Satan!
Started by TylerDurden |
1 Replies
4,319 Views |
![]() by William |
![]() |
![]() |
1 Replies
2,745 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
3,638 Views |
![]() by KD |
|
![]() |
![]() |
Vitamix: effect on nutrition
Started by raw-al |
1 Replies
2,712 Views |
![]() by dariorpl |
![]() |
![]() |
MDA view on ZC
Started by a87.pal |
1 Replies
4,431 Views |
![]() by TylerDurden |
![]() |
![]() |
Banned foods around the world
Started by TylerDurden |
1 Replies
2,631 Views |
![]() by TylerDurden |
![]() |
![]() |
New fad DNA diet
Started by TylerDurden |
1 Replies
2,592 Views |
![]() by Drengr |
![]() |
![]() |
1 Replies
2,396 Views |
![]() by raw-al |
|
![]() |
![]() |
1 Replies
3,151 Views |
![]() by yuli |
|
![]() |
![]() |
1 Replies
2,703 Views |
![]() by van |
|
![]() |
![]() |
How junk food causes depression
Started by TylerDurden |
1 Replies
2,641 Views |
![]() by surfsteve |
![]() |
![]() |
Parathyroid issues
Started by TylerDurden |
1 Replies
4,399 Views |
![]() by reyyzl |
![]() |
![]() |
1 Replies
2,486 Views |
![]() by dariorpl |
|
![]() |
![]() |
Selenium yeast
Started by RogueFarmer |
1 Replies
3,002 Views |
![]() by van |
![]() |
![]() |
Low carb is stupid.
Started by SuperInfinity |
1 Replies
3,719 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
3,597 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Cholesterol Down, Vitamin D up in Eggs
Started by Coatue |
1 Replies
2,902 Views |
![]() by sabertooth |
![]() |
![]() |
WOW! Watch this tapeworm video.
Started by chucky |
1 Replies
3,108 Views |
![]() by miles |
![]() |
![]() |
hrt for men
Started by ruffiny89 |
1 Replies
2,569 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,389 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,633 Views |
![]() by LePatron7 |
|
![]() |
![]() |
1 Replies
2,983 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,098 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Beyond Broccoli
Started by Projectile Vomit |
1 Replies
2,764 Views |
![]() by Polyvore |
![]() |
![]() |
Utopic Water
Started by Coatue |
1 Replies
2,532 Views |
![]() by SkinnyDevil |
![]() |
![]() |
1 Replies
2,427 Views |
![]() by Dorothy |
|
![]() |
![]() |
Ardipithecus
Started by Guittarman03 |
1 Replies
3,372 Views |
![]() by PaleoPhil |
![]() |
![]() |
1 Replies
2,882 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Antibiotics apocalypse and STDs
Started by TylerDurden |
1 Replies
2,639 Views |
![]() by raw-al |
![]() |
![]() |
The Faileo Diet
Started by Projectile Vomit |
1 Replies
2,332 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
14,391 Views |
![]() by norawnofun |
|
![]() |
![]() |
More GM modification of tomatoes
Started by TylerDurden |
1 Replies
2,712 Views |
![]() by dariorpl |
![]() |
![]() |
Ancient Astronauts, Sumeria, tracking our origins
Started by CitrusHigh |
1 Replies
3,242 Views |
![]() by Rawr |
![]() |
![]() |
GMO pigs and Salmon
Started by raw-al |
1 Replies
3,014 Views |
![]() by sabertooth |
![]() |
![]() |
vegetarianism in mma
Started by Ioanna |
1 Replies
2,366 Views |
![]() by wodgina |
![]() |
![]() |
Health of hunter-gatherers
Started by carnivore |
1 Replies
2,669 Views |
![]() by PaleoPhil |
![]() |
![]() |
re-mineralize distilled water
Started by Coatue |
1 Replies
4,066 Views |
![]() by Brother |
![]() |
![]() |
Raw Vegan Diet article
Started by TylerDurden |
1 Replies
2,687 Views |
![]() by svrn |
![]() |
![]() |
The Making of Humans
Started by Projectile Vomit |
1 Replies
2,980 Views |
![]() by goodsamaritan |
![]() |
![]() |
Revolting cooked-food dishes!
Started by TylerDurden |
1 Replies
2,163 Views |
![]() by cherimoya_kid |
![]() |
![]() |
1 Replies
3,056 Views |
![]() by svrn |
|
![]() |
![]() |
Re: Eat pemmican and get atherosclerosis!
Started by William |
1 Replies
2,397 Views |
![]() by RawZi |
![]() |
![]() |
1 Replies
2,509 Views |
![]() by William |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll