/* * 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 21 Guests are viewing this board. | ||||
![]() |
![]() |
Plant toxins and Anti-nutrients
Started by Nicola |
1 Replies
6,593 Views |
![]() by xylothrill |
![]() |
![]() |
Cordain newsletter on sprouted veg
Started by TylerDurden |
0 Replies
6,606 Views |
![]() by TylerDurden |
![]() |
![]() |
8 Replies
6,632 Views |
![]() by Iguana |
|
![]() |
![]() |
Updated CleanTalk Anti Spam
Started by goodsamaritan |
4 Replies
6,634 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
6,685 Views |
![]() by xylothrill |
|
![]() |
![]() |
0 Replies
6,691 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
7 Replies
6,723 Views |
![]() by pioneer |
|
![]() |
![]() |
8 Replies
6,734 Views |
![]() by TylerDurden |
|
![]() |
![]() |
twilight zone
Started by svrn |
12 Replies
6,736 Views |
![]() by svrn |
![]() |
![]() |
Aajonus' Radio Interview In The UK
Started by TylerDurden |
8 Replies
6,744 Views |
![]() by William |
![]() |
![]() |
3 Replies
6,774 Views |
![]() by eveheart |
|
![]() |
![]() |
7 Replies
6,775 Views |
![]() by Guittarman03 |
|
![]() |
![]() |
4 Replies
6,807 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
6,810 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Estrogen food sources
Started by pioneer |
3 Replies
6,836 Views |
![]() by quietmule |
![]() |
![]() |
6 Replies
6,844 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
6,855 Views |
![]() by Inger |
|
![]() |
![]() |
9 Replies
6,865 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Skinny Devil Magazine
Started by SkinnyDevil |
8 Replies
6,904 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Experimenting with new hosting...
Started by goodsamaritan |
3 Replies
6,993 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
7,005 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
7,011 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
8 Replies
7,018 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Watch the Movie King Corn
Started by goodsamaritan |
7 Replies
7,040 Views |
![]() by Cavecloth.com |
![]() |
![]() |
seaweed = not a plant
Started by rafonly |
3 Replies
7,058 Views |
![]() by rafonly |
![]() |
![]() |
Raw Squid Eating Warning
Started by goodsamaritan |
4 Replies
7,118 Views |
![]() by CitrusHigh |
![]() |
![]() |
1 Replies
7,137 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
7,153 Views |
![]() by MaximilianKohler |
![]() |
![]() |
8 Replies
7,174 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
2 Replies
7,184 Views |
![]() by a_real_man |
|
![]() |
![]() |
9 Replies
7,213 Views |
![]() by JeuneKoq |
|
![]() |
![]() |
9 Replies
7,226 Views |
![]() by TylerDurden |
|
![]() |
![]() |
First Nations People Return to Their Native Diet (Video)
Started by Craig |
4 Replies
7,234 Views |
![]() by xylothrill |
![]() |
![]() |
10 Replies
7,244 Views |
![]() by Iguana |
|
![]() |
![]() |
11 Replies
7,278 Views |
![]() by laterade |
|
![]() |
![]() |
9 Replies
7,397 Views |
![]() by Löwenherz |
|
![]() |
![]() |
7 Replies
7,423 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
4 Replies
7,494 Views |
![]() by Fenrir |
|
![]() |
![]() |
3 Replies
7,617 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
9 Replies
7,705 Views |
![]() by Iguana |
|
![]() |
![]() |
11 Replies
7,724 Views |
![]() by miles |
|
![]() |
![]() |
12 Replies
7,731 Views |
![]() by jessica |
|
![]() |
![]() |
Raw paleo video help
Started by Adora |
7 Replies
7,750 Views |
![]() by Adora |
![]() |
![]() |
aged beef
Started by coconinoz |
5 Replies
7,855 Views |
![]() by coconinoz |
![]() |
![]() |
Primal Diet hits the mainstream UK media!
Started by Michael |
10 Replies
7,960 Views |
![]() by goodsamaritan |
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
7,992 Views |
![]() by KD |
![]() |
![]() |
Good Samaritan SOS
Started by sabertooth |
10 Replies
8,129 Views |
![]() by kelpguy |
![]() |
![]() |
9 Replies
8,161 Views |
![]() by zeno |
|
![]() |
![]() |
Dr. Eades on Paleo Diet Study
Started by Satya |
8 Replies
8,239 Views |
![]() by seesawsemiology |
![]() |
![]() |
Meat? Environmentally friendly?
Started by kurite |
13 Replies
8,285 Views |
![]() by yon yonson |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll