/* * 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 73 Guests are viewing this board. | ||||
![]() |
![]() |
1 Replies
2,802 Views |
![]() by Dr. D |
|
![]() |
![]() |
1 Replies
2,179 Views |
![]() by raw-al |
|
![]() |
![]() |
Daniel Vitalis was right... about WATER
Started by kurite |
1 Replies
2,601 Views |
![]() by Löwenherz |
![]() |
![]() |
1 Replies
2,849 Views |
![]() by Aura |
|
![]() |
![]() |
1 Replies
3,310 Views |
![]() by kurite |
|
![]() |
![]() |
1 Replies
2,216 Views |
![]() by Dorothy |
|
![]() |
![]() |
Using Tanning Beds Safely
Started by Coatue |
1 Replies
2,797 Views |
![]() by blimpie |
![]() |
![]() |
Dean Cain Agent of Satan!
Started by TylerDurden |
1 Replies
4,331 Views |
![]() by William |
![]() |
![]() |
1 Replies
2,752 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
3,648 Views |
![]() by KD |
|
![]() |
![]() |
Vitamix: effect on nutrition
Started by raw-al |
1 Replies
2,721 Views |
![]() by dariorpl |
![]() |
![]() |
MDA view on ZC
Started by a87.pal |
1 Replies
4,435 Views |
![]() by TylerDurden |
![]() |
![]() |
Banned foods around the world
Started by TylerDurden |
1 Replies
2,636 Views |
![]() by TylerDurden |
![]() |
![]() |
New fad DNA diet
Started by TylerDurden |
1 Replies
2,598 Views |
![]() by Drengr |
![]() |
![]() |
1 Replies
2,401 Views |
![]() by raw-al |
|
![]() |
![]() |
1 Replies
3,155 Views |
![]() by yuli |
|
![]() |
![]() |
1 Replies
2,704 Views |
![]() by van |
|
![]() |
![]() |
How junk food causes depression
Started by TylerDurden |
1 Replies
2,652 Views |
![]() by surfsteve |
![]() |
![]() |
Parathyroid issues
Started by TylerDurden |
1 Replies
4,404 Views |
![]() by reyyzl |
![]() |
![]() |
1 Replies
2,491 Views |
![]() by dariorpl |
|
![]() |
![]() |
Selenium yeast
Started by RogueFarmer |
1 Replies
3,010 Views |
![]() by van |
![]() |
![]() |
Low carb is stupid.
Started by SuperInfinity |
1 Replies
3,727 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
3,602 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Cholesterol Down, Vitamin D up in Eggs
Started by Coatue |
1 Replies
2,906 Views |
![]() by sabertooth |
![]() |
![]() |
WOW! Watch this tapeworm video.
Started by chucky |
1 Replies
3,119 Views |
![]() by miles |
![]() |
![]() |
hrt for men
Started by ruffiny89 |
1 Replies
2,573 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,394 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,638 Views |
![]() by LePatron7 |
|
![]() |
![]() |
1 Replies
2,985 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,102 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Beyond Broccoli
Started by Projectile Vomit |
1 Replies
2,771 Views |
![]() by Polyvore |
![]() |
![]() |
Utopic Water
Started by Coatue |
1 Replies
2,541 Views |
![]() by SkinnyDevil |
![]() |
![]() |
1 Replies
2,438 Views |
![]() by Dorothy |
|
![]() |
![]() |
Ardipithecus
Started by Guittarman03 |
1 Replies
3,379 Views |
![]() by PaleoPhil |
![]() |
![]() |
1 Replies
2,887 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Antibiotics apocalypse and STDs
Started by TylerDurden |
1 Replies
2,642 Views |
![]() by raw-al |
![]() |
![]() |
The Faileo Diet
Started by Projectile Vomit |
1 Replies
2,339 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
14,723 Views |
![]() by norawnofun |
|
![]() |
![]() |
More GM modification of tomatoes
Started by TylerDurden |
1 Replies
2,717 Views |
![]() by dariorpl |
![]() |
![]() |
Ancient Astronauts, Sumeria, tracking our origins
Started by CitrusHigh |
1 Replies
3,247 Views |
![]() by Rawr |
![]() |
![]() |
GMO pigs and Salmon
Started by raw-al |
1 Replies
3,023 Views |
![]() by sabertooth |
![]() |
![]() |
vegetarianism in mma
Started by Ioanna |
1 Replies
2,373 Views |
![]() by wodgina |
![]() |
![]() |
Health of hunter-gatherers
Started by carnivore |
1 Replies
2,676 Views |
![]() by PaleoPhil |
![]() |
![]() |
re-mineralize distilled water
Started by Coatue |
1 Replies
4,072 Views |
![]() by Brother |
![]() |
![]() |
Raw Vegan Diet article
Started by TylerDurden |
1 Replies
2,695 Views |
![]() by svrn |
![]() |
![]() |
The Making of Humans
Started by Projectile Vomit |
1 Replies
2,985 Views |
![]() by goodsamaritan |
![]() |
![]() |
Revolting cooked-food dishes!
Started by TylerDurden |
1 Replies
2,167 Views |
![]() by cherimoya_kid |
![]() |
![]() |
1 Replies
3,060 Views |
![]() by svrn |
|
![]() |
![]() |
Re: Eat pemmican and get atherosclerosis!
Started by William |
1 Replies
2,403 Views |
![]() by RawZi |
![]() |
![]() |
1 Replies
2,516 Views |
![]() by William |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll