/* * 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 95 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
4,828 Views |
![]() by Dorothy |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
17,098 Views |
![]() by Löwenherz |
![]() |
![]() |
0 Replies
2,678 Views |
![]() by bharminder |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,111 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,690 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,428 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,342 Views |
![]() by RogueFarmer |
![]() |
![]() |
50 Replies
37,195 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,365 Views |
![]() by TylerDurden |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,539 Views |
![]() by miles |
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
4,089 Views |
![]() by CitrusHigh |
![]() |
![]() |
26 Replies
13,700 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,087 Views |
![]() by KD |
![]() |
![]() |
9 Replies
8,798 Views |
![]() by Techydude |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
3,868 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
7,839 Views |
![]() by Iguana |
|
![]() |
![]() |
2 Replies
3,792 Views |
![]() by raw-al |
|
![]() |
![]() |
49 Replies
39,107 Views |
![]() by Techydude |
|
![]() |
![]() |
6 Replies
6,076 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,968 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
5 Replies
5,357 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,325 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,499 Views |
![]() by laterade |
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,324 Views |
![]() by KD |
![]() |
![]() |
9 Replies
7,455 Views |
![]() by Löwenherz |
|
![]() |
![]() |
9 Replies
8,231 Views |
![]() by zeno |
|
![]() |
![]() |
2 Replies
3,412 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,287 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,736 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
3,969 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
1 Replies
4,570 Views |
![]() by achillezzz |
|
![]() |
![]() |
3 Replies
3,944 Views |
![]() by laterade |
|
![]() |
![]() |
7 Replies
6,325 Views |
![]() by magnetic |
|
![]() |
![]() |
Question re links
Started by raw-al |
5 Replies
5,105 Views |
![]() by Iguana |
![]() |
![]() |
6 Replies
6,920 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Trouble with a post
Started by raw-al |
5 Replies
4,329 Views |
![]() by raw-al |
![]() |
![]() |
32 Replies
17,189 Views |
![]() by HIT_it_RAW |
|
![]() |
![]() |
8 Replies
7,245 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Paleo Community Survey
Started by goodsamaritan |
4 Replies
3,916 Views |
![]() by goodsamaritan |
![]() |
![]() |
Fishing anyone?
Started by kurite |
1 Replies
3,123 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
4,744 Views |
![]() by raw |
|
![]() |
![]() |
Fiat food
Started by sabertooth |
3 Replies
4,745 Views |
![]() by vander230 |
![]() |
![]() |
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
7,261 Views |
![]() by MaximilianKohler |
![]() |
![]() |
8 Replies
10,115 Views |
![]() by MaximilianKohler |
|
![]() |
![]() |
3 Replies
4,316 Views |
![]() by laterade |
|
![]() |
![]() |
Alarming new study on tap water
Started by Nation |
6 Replies
5,633 Views |
![]() by CHK91 |
![]() |
![]() |
Aajonus message of some sort
Started by TylerDurden |
0 Replies
3,377 Views |
![]() by TylerDurden |
![]() |
![]() |
Cordain Interview
Started by TylerDurden |
0 Replies
3,271 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,649 Views |
![]() by laterade |
|
![]() |
![]() |
New Aajonus e-mail re rawesome
Started by TylerDurden |
5 Replies
5,588 Views |
![]() by laterade |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll