/* * 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 11 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
4,839 Views |
![]() by Dorothy |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
17,166 Views |
![]() by Löwenherz |
![]() |
![]() |
0 Replies
2,686 Views |
![]() by bharminder |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,119 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,700 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,435 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,350 Views |
![]() by RogueFarmer |
![]() |
![]() |
50 Replies
37,368 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,371 Views |
![]() by TylerDurden |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,558 Views |
![]() by miles |
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
4,096 Views |
![]() by CitrusHigh |
![]() |
![]() |
26 Replies
13,752 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,102 Views |
![]() by KD |
![]() |
![]() |
9 Replies
8,817 Views |
![]() by Techydude |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
3,886 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
7,852 Views |
![]() by Iguana |
|
![]() |
![]() |
2 Replies
3,797 Views |
![]() by raw-al |
|
![]() |
![]() |
49 Replies
39,230 Views |
![]() by Techydude |
|
![]() |
![]() |
6 Replies
6,131 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,990 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
5 Replies
5,389 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,344 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,514 Views |
![]() by laterade |
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,335 Views |
![]() by KD |
![]() |
![]() |
9 Replies
7,485 Views |
![]() by Löwenherz |
|
![]() |
![]() |
9 Replies
8,251 Views |
![]() by zeno |
|
![]() |
![]() |
2 Replies
3,429 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,317 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,748 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
3,980 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
1 Replies
4,578 Views |
![]() by achillezzz |
|
![]() |
![]() |
3 Replies
3,961 Views |
![]() by laterade |
|
![]() |
![]() |
7 Replies
6,344 Views |
![]() by magnetic |
|
![]() |
![]() |
Question re links
Started by raw-al |
5 Replies
5,122 Views |
![]() by Iguana |
![]() |
![]() |
6 Replies
6,951 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Trouble with a post
Started by raw-al |
5 Replies
4,339 Views |
![]() by raw-al |
![]() |
![]() |
32 Replies
17,230 Views |
![]() by HIT_it_RAW |
|
![]() |
![]() |
8 Replies
7,267 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Paleo Community Survey
Started by goodsamaritan |
4 Replies
3,928 Views |
![]() by goodsamaritan |
![]() |
![]() |
Fishing anyone?
Started by kurite |
1 Replies
3,128 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
4,753 Views |
![]() by raw |
|
![]() |
![]() |
Fiat food
Started by sabertooth |
3 Replies
4,755 Views |
![]() by vander230 |
![]() |
![]() |
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
7,289 Views |
![]() by MaximilianKohler |
![]() |
![]() |
8 Replies
10,133 Views |
![]() by MaximilianKohler |
|
![]() |
![]() |
3 Replies
4,333 Views |
![]() by laterade |
|
![]() |
![]() |
Alarming new study on tap water
Started by Nation |
6 Replies
5,642 Views |
![]() by CHK91 |
![]() |
![]() |
Aajonus message of some sort
Started by TylerDurden |
0 Replies
3,386 Views |
![]() by TylerDurden |
![]() |
![]() |
Cordain Interview
Started by TylerDurden |
0 Replies
3,278 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,654 Views |
![]() by laterade |
|
![]() |
![]() |
New Aajonus e-mail re rawesome
Started by TylerDurden |
5 Replies
5,600 Views |
![]() by laterade |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll