/* * 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 57 Guests are viewing this board. | ||||
![]() |
![]() |
RAW Paleo blog
Started by A_Tribe_Called_Paleo |
0 Replies
2,577 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
Mouth WATERING
Started by RogueFarmer |
0 Replies
2,580 Views |
![]() by RogueFarmer |
![]() |
![]() |
How bout parasites?
Started by pioneer |
1 Replies
2,581 Views |
![]() by ys |
![]() |
![]() |
GMO Labelling Laws in the US
Started by raw-al |
0 Replies
2,589 Views |
![]() by raw-al |
![]() |
![]() |
New fad DNA diet
Started by TylerDurden |
1 Replies
2,592 Views |
![]() by Drengr |
![]() |
![]() |
new updates
Started by svrn |
1 Replies
2,598 Views |
![]() by svrn |
![]() |
![]() |
Daniel Vitalis was right... about WATER
Started by kurite |
1 Replies
2,598 Views |
![]() by Löwenherz |
![]() |
![]() |
Bisin preservative warning
Started by TylerDurden |
1 Replies
2,598 Views |
![]() by TylerDurden |
![]() |
![]() |
Sick new trend
Started by TylerDurden |
2 Replies
2,603 Views |
![]() by CitrusHigh |
![]() |
![]() |
Urination article
Started by TylerDurden |
2 Replies
2,605 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,606 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Not paleo but shows importance of EFAs
Started by kurite |
2 Replies
2,608 Views |
![]() by TylerDurden |
![]() |
![]() |
how to make vegetables "safe"
Started by a87.pal |
1 Replies
2,612 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,613 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,615 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
0 Replies
2,618 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,622 Views |
![]() by TylerDurden |
|
![]() |
![]() |
So, what's in your scampi
Started by TylerDurden |
1 Replies
2,625 Views |
![]() by eveheart |
![]() |
![]() |
0 Replies
2,627 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,630 Views |
![]() by aginghippie |
|
![]() |
![]() |
Banned foods around the world
Started by TylerDurden |
1 Replies
2,631 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,632 Views |
![]() by TylerDurden |
|
![]() |
![]() |
The future of fast food article
Started by TylerDurden |
1 Replies
2,633 Views |
![]() by Dorothy |
![]() |
![]() |
Raw milk on sale in Australia
Started by TylerDurden |
1 Replies
2,633 Views |
![]() by fanbrits |
![]() |
![]() |
1 Replies
2,634 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Antibiotics apocalypse and STDs
Started by TylerDurden |
1 Replies
2,640 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
2,644 Views |
![]() by raw-al |
|
![]() |
![]() |
How junk food causes depression
Started by TylerDurden |
1 Replies
2,644 Views |
![]() by surfsteve |
![]() |
![]() |
Vegans and some of their weird ideas
Started by dair |
0 Replies
2,645 Views |
![]() by dair |
![]() |
![]() |
0 Replies
2,650 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,650 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
2,655 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Fast food far worse than thought
Started by TylerDurden |
1 Replies
2,667 Views |
![]() by NuclearKnight |
![]() |
![]() |
Health of hunter-gatherers
Started by carnivore |
1 Replies
2,672 Views |
![]() by PaleoPhil |
![]() |
![]() |
High Meats = ALE/AGEs?
Started by MrBBQ |
1 Replies
2,683 Views |
![]() by alphagruis |
![]() |
![]() |
New article on animal slaughter
Started by TylerDurden |
0 Replies
2,684 Views |
![]() by TylerDurden |
![]() |
![]() |
Raw Vegan Diet article
Started by TylerDurden |
1 Replies
2,689 Views |
![]() by svrn |
![]() |
![]() |
2 Replies
2,692 Views |
![]() by raw-al |
|
![]() |
![]() |
Eating cooked foods makes you stupid
Started by TylerDurden |
0 Replies
2,695 Views |
![]() by TylerDurden |
![]() |
![]() |
Are Humans Wired to Sleep Twice a Day?
Started by raw-al |
1 Replies
2,698 Views |
![]() by Raww |
![]() |
![]() |
0 Replies
2,703 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,703 Views |
![]() by van |
|
![]() |
![]() |
Mercury in fish
Started by raw-al |
1 Replies
2,704 Views |
![]() by Inger |
![]() |
![]() |
More GM modification of tomatoes
Started by TylerDurden |
1 Replies
2,713 Views |
![]() by dariorpl |
![]() |
![]() |
Vitamix: effect on nutrition
Started by raw-al |
1 Replies
2,714 Views |
![]() by dariorpl |
![]() |
![]() |
New chicken farm design a la 'The Matrix'
Started by CitrusHigh |
1 Replies
2,715 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Junk Food study
Started by TylerDurden |
2 Replies
2,722 Views |
![]() by cherimoya_kid |
![]() |
![]() |
3 Replies
2,732 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Ocean brine
Started by RogueFarmer |
2 Replies
2,735 Views |
![]() by dogman333 |
![]() |
![]() |
Vegan babies
Started by TylerDurden |
1 Replies
2,739 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll