/* * 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 22 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
3,961 Views |
![]() by laterade |
|
![]() |
![]() |
1 Replies
4,578 Views |
![]() by achillezzz |
|
![]() |
![]() |
2 Replies
3,980 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
0 Replies
2,748 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,317 Views |
![]() by Josh |
|
![]() |
![]() |
2 Replies
3,429 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
9 Replies
8,251 Views |
![]() by zeno |
|
![]() |
![]() |
9 Replies
7,484 Views |
![]() by Löwenherz |
|
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,335 Views |
![]() by KD |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,514 Views |
![]() by laterade |
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,344 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
5 Replies
5,388 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
0 Replies
2,989 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,131 Views |
![]() by Josh |
|
![]() |
![]() |
49 Replies
39,224 Views |
![]() by Techydude |
|
![]() |
![]() |
2 Replies
3,797 Views |
![]() by raw-al |
|
![]() |
![]() |
9 Replies
7,852 Views |
![]() by Iguana |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
3,886 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
8,817 Views |
![]() by Techydude |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,102 Views |
![]() by KD |
![]() |
![]() |
26 Replies
13,749 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
4,096 Views |
![]() by CitrusHigh |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,558 Views |
![]() by miles |
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,371 Views |
![]() by TylerDurden |
![]() |
![]() |
50 Replies
37,362 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,350 Views |
![]() by RogueFarmer |
![]() |
![]() |
0 Replies
2,435 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,699 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,119 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,686 Views |
![]() by bharminder |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
17,165 Views |
![]() by Löwenherz |
![]() |
![]() |
3 Replies
4,839 Views |
![]() by Dorothy |
|
![]() |
![]() |
Other Raw-Meat-Eating Forums
Started by TylerDurden |
0 Replies
2,787 Views |
![]() by TylerDurden |
![]() |
![]() |
Government agency forces farmers to destroy their food...again
Started by CitrusHigh |
3 Replies
3,507 Views |
![]() by billy4184 |
![]() |
![]() |
0 Replies
3,296 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
6,275 Views |
![]() by eveheart |
|
![]() |
![]() |
Internet Freedom: Stop SOPA
Started by zeno |
2 Replies
3,095 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
2,483 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Aajonus plea for support
Started by TylerDurden |
2 Replies
3,540 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,448 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
8 Replies
7,147 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Article on healing lung disease with hookworms..
Started by CitrusHigh |
2 Replies
3,600 Views |
![]() by CitrusHigh |
![]() |
![]() |
adding a photo
Started by Sage |
1 Replies
2,879 Views |
![]() by MarkC |
![]() |
![]() |
Aajonus raw dairy rights bill e-mail
Started by TylerDurden |
0 Replies
2,777 Views |
![]() by TylerDurden |
![]() |
![]() |
PLEASE ACT TO FIGH SOPA AND PIPA, internet freedom, NOW!!
Started by CitrusHigh |
1 Replies
2,928 Views |
![]() by CitrusHigh |
![]() |
![]() |
Paleo Summit online conference
Started by Joy2012 |
0 Replies
4,323 Views |
![]() by Joy2012 |
![]() |
![]() |
Raw paleo video help
Started by Adora |
7 Replies
8,180 Views |
![]() by Adora |
![]() |
![]() |
Message from Aajonus
Started by TylerDurden |
0 Replies
2,767 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
5,343 Views |
![]() by Darwinian Fitness |
|
![]() |
![]() |
Poop burger
Started by sabertooth |
7 Replies
6,225 Views |
![]() by sabertooth |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll