/* * 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 116 Guests are viewing this board. | ||||
![]() |
![]() |
Cordain newsletter on sprouted veg
Started by TylerDurden |
0 Replies
6,626 Views |
![]() by TylerDurden |
![]() |
![]() |
10 Replies
6,627 Views |
![]() by majormark |
|
![]() |
![]() |
Updated CleanTalk Anti Spam
Started by goodsamaritan |
4 Replies
6,709 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
6,727 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
3 Replies
6,765 Views |
![]() by xylothrill |
|
![]() |
![]() |
8 Replies
6,784 Views |
![]() by Iguana |
|
![]() |
![]() |
Aajonus' Radio Interview In The UK
Started by TylerDurden |
8 Replies
6,784 Views |
![]() by William |
![]() |
![]() |
8 Replies
6,811 Views |
![]() by TylerDurden |
|
![]() |
![]() |
twilight zone
Started by svrn |
12 Replies
6,813 Views |
![]() by svrn |
![]() |
![]() |
7 Replies
6,833 Views |
![]() by Guittarman03 |
|
![]() |
![]() |
7 Replies
6,841 Views |
![]() by pioneer |
|
![]() |
![]() |
3 Replies
6,848 Views |
![]() by eveheart |
|
![]() |
![]() |
1 Replies
6,866 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Estrogen food sources
Started by pioneer |
3 Replies
6,870 Views |
![]() by quietmule |
![]() |
![]() |
4 Replies
6,889 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,916 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
6,929 Views |
![]() by Inger |
|
![]() |
![]() |
Skinny Devil Magazine
Started by SkinnyDevil |
8 Replies
6,952 Views |
![]() by SkinnyDevil |
![]() |
![]() |
9 Replies
6,998 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
7,032 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
7,056 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Experimenting with new hosting...
Started by goodsamaritan |
3 Replies
7,070 Views |
![]() by goodsamaritan |
![]() |
![]() |
8 Replies
7,109 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Watch the Movie King Corn
Started by goodsamaritan |
7 Replies
7,110 Views |
![]() by Cavecloth.com |
![]() |
![]() |
seaweed = not a plant
Started by rafonly |
3 Replies
7,116 Views |
![]() by rafonly |
![]() |
![]() |
1 Replies
7,175 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Raw Squid Eating Warning
Started by goodsamaritan |
4 Replies
7,205 Views |
![]() by CitrusHigh |
![]() |
![]() |
8 Replies
7,243 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
2 Replies
7,249 Views |
![]() by a_real_man |
|
![]() |
![]() |
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
7,254 Views |
![]() by MaximilianKohler |
![]() |
![]() |
9 Replies
7,265 Views |
![]() by JeuneKoq |
|
![]() |
![]() |
First Nations People Return to Their Native Diet (Video)
Started by Craig |
4 Replies
7,322 Views |
![]() by xylothrill |
![]() |
![]() |
11 Replies
7,350 Views |
![]() by laterade |
|
![]() |
![]() |
9 Replies
7,369 Views |
![]() by TylerDurden |
|
![]() |
![]() |
10 Replies
7,377 Views |
![]() by Iguana |
|
![]() |
![]() |
9 Replies
7,453 Views |
![]() by Löwenherz |
|
![]() |
![]() |
7 Replies
7,502 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
4 Replies
7,605 Views |
![]() by Fenrir |
|
![]() |
![]() |
3 Replies
7,685 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
11 Replies
7,810 Views |
![]() by miles |
|
![]() |
![]() |
12 Replies
7,833 Views |
![]() by jessica |
|
![]() |
![]() |
9 Replies
7,837 Views |
![]() by Iguana |
|
![]() |
![]() |
aged beef
Started by coconinoz |
5 Replies
7,925 Views |
![]() by coconinoz |
![]() |
![]() |
Primal Diet hits the mainstream UK media!
Started by Michael |
10 Replies
8,063 Views |
![]() by goodsamaritan |
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,082 Views |
![]() by KD |
![]() |
![]() |
Raw paleo video help
Started by Adora |
7 Replies
8,120 Views |
![]() by Adora |
![]() |
![]() |
9 Replies
8,228 Views |
![]() by zeno |
|
![]() |
![]() |
Good Samaritan SOS
Started by sabertooth |
10 Replies
8,267 Views |
![]() by kelpguy |
![]() |
![]() |
Dr. Eades on Paleo Diet Study
Started by Satya |
8 Replies
8,361 Views |
![]() by seesawsemiology |
![]() |
![]() |
Meat? Environmentally friendly?
Started by kurite |
13 Replies
8,413 Views |
![]() by yon yonson |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll