/* * 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 311 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
5,032 Views |
![]() by Dorothy |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
17,771 Views |
![]() by Löwenherz |
![]() |
![]() |
0 Replies
2,817 Views |
![]() by bharminder |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,230 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,836 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,546 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,511 Views |
![]() by RogueFarmer |
![]() |
![]() |
50 Replies
38,841 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,490 Views |
![]() by TylerDurden |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,767 Views |
![]() by miles |
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
4,243 Views |
![]() by CitrusHigh |
![]() |
![]() |
26 Replies
14,286 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,336 Views |
![]() by KD |
![]() |
![]() |
9 Replies
9,114 Views |
![]() by Techydude |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
4,030 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
8,155 Views |
![]() by Iguana |
|
![]() |
![]() |
2 Replies
3,935 Views |
![]() by raw-al |
|
![]() |
![]() |
49 Replies
40,358 Views |
![]() by Techydude |
|
![]() |
![]() |
6 Replies
6,404 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
3,134 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
5 Replies
5,601 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,491 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,655 Views |
![]() by laterade |
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,471 Views |
![]() by KD |
![]() |
![]() |
9 Replies
7,708 Views |
![]() by Löwenherz |
|
![]() |
![]() |
9 Replies
8,528 Views |
![]() by zeno |
|
![]() |
![]() |
2 Replies
3,594 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,590 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,899 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
4,157 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
1 Replies
4,755 Views |
![]() by achillezzz |
|
![]() |
![]() |
3 Replies
4,164 Views |
![]() by laterade |
|
![]() |
![]() |
7 Replies
6,658 Views |
![]() by magnetic |
|
![]() |
![]() |
Question re links
Started by raw-al |
5 Replies
5,452 Views |
![]() by Iguana |
![]() |
![]() |
6 Replies
7,368 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Trouble with a post
Started by raw-al |
5 Replies
4,681 Views |
![]() by raw-al |
![]() |
![]() |
32 Replies
17,992 Views |
![]() by HIT_it_RAW |
|
![]() |
![]() |
8 Replies
7,583 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Paleo Community Survey
Started by goodsamaritan |
4 Replies
4,124 Views |
![]() by goodsamaritan |
![]() |
![]() |
Fishing anyone?
Started by kurite |
1 Replies
3,289 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
4,913 Views |
![]() by raw |
|
![]() |
![]() |
Fiat food
Started by sabertooth |
3 Replies
4,960 Views |
![]() by vander230 |
![]() |
![]() |
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
7,585 Views |
![]() by MaximilianKohler |
![]() |
![]() |
8 Replies
10,453 Views |
![]() by MaximilianKohler |
|
![]() |
![]() |
3 Replies
4,658 Views |
![]() by laterade |
|
![]() |
![]() |
Alarming new study on tap water
Started by Nation |
6 Replies
5,956 Views |
![]() by CHK91 |
![]() |
![]() |
Aajonus message of some sort
Started by TylerDurden |
0 Replies
3,554 Views |
![]() by TylerDurden |
![]() |
![]() |
Cordain Interview
Started by TylerDurden |
0 Replies
3,410 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,765 Views |
![]() by laterade |
|
![]() |
![]() |
New Aajonus e-mail re rawesome
Started by TylerDurden |
5 Replies
5,779 Views |
![]() by laterade |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll