/* * 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
4,729 Views |
![]() by Dorothy |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
16,495 Views |
![]() by Löwenherz |
![]() |
![]() |
0 Replies
2,584 Views |
![]() by bharminder |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,045 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,629 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,345 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,033 Views |
![]() by RogueFarmer |
![]() |
![]() |
50 Replies
34,647 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,181 Views |
![]() by TylerDurden |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,432 Views |
![]() by miles |
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
3,963 Views |
![]() by CitrusHigh |
![]() |
![]() |
26 Replies
13,188 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
7,860 Views |
![]() by KD |
![]() |
![]() |
9 Replies
8,584 Views |
![]() by Techydude |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
3,778 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
7,541 Views |
![]() by Iguana |
|
![]() |
![]() |
2 Replies
3,573 Views |
![]() by raw-al |
|
![]() |
![]() |
49 Replies
37,747 Views |
![]() by Techydude |
|
![]() |
![]() |
6 Replies
5,742 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,839 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
5 Replies
5,150 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,214 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,414 Views |
![]() by laterade |
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,263 Views |
![]() by KD |
![]() |
![]() |
9 Replies
7,321 Views |
![]() by Löwenherz |
|
![]() |
![]() |
9 Replies
8,062 Views |
![]() by zeno |
|
![]() |
![]() |
2 Replies
3,304 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,080 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,650 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
3,875 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
1 Replies
4,471 Views |
![]() by achillezzz |
|
![]() |
![]() |
3 Replies
3,872 Views |
![]() by laterade |
|
![]() |
![]() |
7 Replies
6,209 Views |
![]() by magnetic |
|
![]() |
![]() |
Question re links
Started by raw-al |
5 Replies
4,983 Views |
![]() by Iguana |
![]() |
![]() |
6 Replies
6,734 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Trouble with a post
Started by raw-al |
5 Replies
4,230 Views |
![]() by raw-al |
![]() |
![]() |
32 Replies
16,861 Views |
![]() by HIT_it_RAW |
|
![]() |
![]() |
8 Replies
7,062 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Paleo Community Survey
Started by goodsamaritan |
4 Replies
3,813 Views |
![]() by goodsamaritan |
![]() |
![]() |
Fishing anyone?
Started by kurite |
1 Replies
3,051 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
4,670 Views |
![]() by raw |
|
![]() |
![]() |
Fiat food
Started by sabertooth |
3 Replies
4,608 Views |
![]() by vander230 |
![]() |
![]() |
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
7,062 Views |
![]() by MaximilianKohler |
![]() |
![]() |
8 Replies
9,865 Views |
![]() by MaximilianKohler |
|
![]() |
![]() |
3 Replies
4,184 Views |
![]() by laterade |
|
![]() |
![]() |
Alarming new study on tap water
Started by Nation |
6 Replies
5,464 Views |
![]() by CHK91 |
![]() |
![]() |
Aajonus message of some sort
Started by TylerDurden |
0 Replies
3,288 Views |
![]() by TylerDurden |
![]() |
![]() |
Cordain Interview
Started by TylerDurden |
0 Replies
3,209 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,585 Views |
![]() by laterade |
|
![]() |
![]() |
New Aajonus e-mail re rawesome
Started by TylerDurden |
5 Replies
5,450 Views |
![]() by laterade |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll