/* * 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 17 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
3,957 Views |
![]() by laterade |
|
![]() |
![]() |
1 Replies
4,576 Views |
![]() by achillezzz |
|
![]() |
![]() |
2 Replies
3,978 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
0 Replies
2,743 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,304 Views |
![]() by Josh |
|
![]() |
![]() |
2 Replies
3,426 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
9 Replies
8,245 Views |
![]() by zeno |
|
![]() |
![]() |
9 Replies
7,472 Views |
![]() by Löwenherz |
|
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,332 Views |
![]() by KD |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,506 Views |
![]() by laterade |
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,333 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
5 Replies
5,380 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
0 Replies
2,982 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,118 Views |
![]() by Josh |
|
![]() |
![]() |
49 Replies
39,160 Views |
![]() by Techydude |
|
![]() |
![]() |
2 Replies
3,795 Views |
![]() by raw-al |
|
![]() |
![]() |
9 Replies
7,843 Views |
![]() by Iguana |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
3,877 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
8,806 Views |
![]() by Techydude |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,093 Views |
![]() by KD |
![]() |
![]() |
26 Replies
13,721 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
4,092 Views |
![]() by CitrusHigh |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,548 Views |
![]() by miles |
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,368 Views |
![]() by TylerDurden |
![]() |
![]() |
50 Replies
37,278 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,346 Views |
![]() by RogueFarmer |
![]() |
![]() |
0 Replies
2,432 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,693 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,114 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,681 Views |
![]() by bharminder |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
17,123 Views |
![]() by Löwenherz |
![]() |
![]() |
3 Replies
4,833 Views |
![]() by Dorothy |
|
![]() |
![]() |
Other Raw-Meat-Eating Forums
Started by TylerDurden |
0 Replies
2,784 Views |
![]() by TylerDurden |
![]() |
![]() |
Government agency forces farmers to destroy their food...again
Started by CitrusHigh |
3 Replies
3,500 Views |
![]() by billy4184 |
![]() |
![]() |
0 Replies
3,292 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
6,270 Views |
![]() by eveheart |
|
![]() |
![]() |
Internet Freedom: Stop SOPA
Started by zeno |
2 Replies
3,093 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
2,480 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Aajonus plea for support
Started by TylerDurden |
2 Replies
3,535 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,443 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
8 Replies
7,141 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Article on healing lung disease with hookworms..
Started by CitrusHigh |
2 Replies
3,598 Views |
![]() by CitrusHigh |
![]() |
![]() |
adding a photo
Started by Sage |
1 Replies
2,873 Views |
![]() by MarkC |
![]() |
![]() |
Aajonus raw dairy rights bill e-mail
Started by TylerDurden |
0 Replies
2,773 Views |
![]() by TylerDurden |
![]() |
![]() |
PLEASE ACT TO FIGH SOPA AND PIPA, internet freedom, NOW!!
Started by CitrusHigh |
1 Replies
2,921 Views |
![]() by CitrusHigh |
![]() |
![]() |
Paleo Summit online conference
Started by Joy2012 |
0 Replies
4,317 Views |
![]() by Joy2012 |
![]() |
![]() |
Raw paleo video help
Started by Adora |
7 Replies
8,159 Views |
![]() by Adora |
![]() |
![]() |
Message from Aajonus
Started by TylerDurden |
0 Replies
2,762 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
5,339 Views |
![]() by Darwinian Fitness |
|
![]() |
![]() |
Poop burger
Started by sabertooth |
7 Replies
6,216 Views |
![]() by sabertooth |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll