/* * 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 66 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
3,920 Views |
![]() by laterade |
|
![]() |
![]() |
1 Replies
4,541 Views |
![]() by achillezzz |
|
![]() |
![]() |
2 Replies
3,935 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
0 Replies
2,709 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,219 Views |
![]() by Josh |
|
![]() |
![]() |
2 Replies
3,370 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
9 Replies
8,185 Views |
![]() by zeno |
|
![]() |
![]() |
9 Replies
7,414 Views |
![]() by Löwenherz |
|
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,305 Views |
![]() by KD |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,471 Views |
![]() by laterade |
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,287 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
5 Replies
5,286 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
0 Replies
2,929 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,019 Views |
![]() by Josh |
|
![]() |
![]() |
49 Replies
38,843 Views |
![]() by Techydude |
|
![]() |
![]() |
2 Replies
3,749 Views |
![]() by raw-al |
|
![]() |
![]() |
9 Replies
7,774 Views |
![]() by Iguana |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
3,845 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
8,718 Views |
![]() by Techydude |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,010 Views |
![]() by KD |
![]() |
![]() |
26 Replies
13,580 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
4,058 Views |
![]() by CitrusHigh |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,509 Views |
![]() by miles |
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,343 Views |
![]() by TylerDurden |
![]() |
![]() |
50 Replies
36,930 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,308 Views |
![]() by RogueFarmer |
![]() |
![]() |
0 Replies
2,409 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,669 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,090 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,652 Views |
![]() by bharminder |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
16,910 Views |
![]() by Löwenherz |
![]() |
![]() |
3 Replies
4,792 Views |
![]() by Dorothy |
|
![]() |
![]() |
Other Raw-Meat-Eating Forums
Started by TylerDurden |
0 Replies
2,750 Views |
![]() by TylerDurden |
![]() |
![]() |
Government agency forces farmers to destroy their food...again
Started by CitrusHigh |
3 Replies
3,453 Views |
![]() by billy4184 |
![]() |
![]() |
0 Replies
3,258 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
6,218 Views |
![]() by eveheart |
|
![]() |
![]() |
Internet Freedom: Stop SOPA
Started by zeno |
2 Replies
3,054 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
2,449 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Aajonus plea for support
Started by TylerDurden |
2 Replies
3,471 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,390 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
8 Replies
7,037 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Article on healing lung disease with hookworms..
Started by CitrusHigh |
2 Replies
3,548 Views |
![]() by CitrusHigh |
![]() |
![]() |
adding a photo
Started by Sage |
1 Replies
2,843 Views |
![]() by MarkC |
![]() |
![]() |
Aajonus raw dairy rights bill e-mail
Started by TylerDurden |
0 Replies
2,746 Views |
![]() by TylerDurden |
![]() |
![]() |
PLEASE ACT TO FIGH SOPA AND PIPA, internet freedom, NOW!!
Started by CitrusHigh |
1 Replies
2,894 Views |
![]() by CitrusHigh |
![]() |
![]() |
Paleo Summit online conference
Started by Joy2012 |
0 Replies
4,288 Views |
![]() by Joy2012 |
![]() |
![]() |
Raw paleo video help
Started by Adora |
7 Replies
8,068 Views |
![]() by Adora |
![]() |
![]() |
Message from Aajonus
Started by TylerDurden |
0 Replies
2,717 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
5,258 Views |
![]() by Darwinian Fitness |
|
![]() |
![]() |
Poop burger
Started by sabertooth |
7 Replies
6,140 Views |
![]() by sabertooth |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll