/* * 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 16 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
4,932 Views |
![]() by Dorothy |
|
![]() |
![]() |
Forum Upgraded to SMF 2.0.1 - Bugs and Updates Here
Started by goodsamaritan « 1 2 » |
27 Replies
17,623 Views |
![]() by Löwenherz |
![]() |
![]() |
0 Replies
2,759 Views |
![]() by bharminder |
|
![]() |
![]() |
RA FARM- Aajonus e-mail
Started by TylerDurden |
0 Replies
3,178 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,760 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,493 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Listeria Hysteria?
Started by goodsamaritan |
3 Replies
4,446 Views |
![]() by RogueFarmer |
![]() |
![]() |
50 Replies
38,489 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Food Hospital TV show in the UK
Started by TylerDurden |
0 Replies
4,435 Views |
![]() by TylerDurden |
![]() |
![]() |
Deer Eats BIRD! Video!
Started by goodsamaritan |
7 Replies
6,671 Views |
![]() by miles |
![]() |
![]() |
Aajonus:- new message re Rawesome
Started by TylerDurden |
1 Replies
4,164 Views |
![]() by CitrusHigh |
![]() |
![]() |
26 Replies
14,067 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Aajonus Upcoming Interview
Started by TylerDurden |
7 Replies
8,218 Views |
![]() by KD |
![]() |
![]() |
9 Replies
9,040 Views |
![]() by Techydude |
|
![]() |
![]() |
Not getting reply notifications
Started by raw-al |
5 Replies
3,978 Views |
![]() by raw-al |
![]() |
![]() |
9 Replies
8,073 Views |
![]() by Iguana |
|
![]() |
![]() |
2 Replies
3,874 Views |
![]() by raw-al |
|
![]() |
![]() |
49 Replies
40,026 Views |
![]() by Techydude |
|
![]() |
![]() |
6 Replies
6,277 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
3,068 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
5 Replies
5,512 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
E. coli outbreak in Germany ?
Started by goodsamaritan |
4 Replies
4,438 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Blood thursty royalty
Started by sabertooth |
2 Replies
3,601 Views |
![]() by laterade |
![]() |
![]() |
Paleo Dieting made it to Network TV
Started by PaleoPhil |
1 Replies
3,410 Views |
![]() by KD |
![]() |
![]() |
9 Replies
7,632 Views |
![]() by Löwenherz |
|
![]() |
![]() |
9 Replies
8,432 Views |
![]() by zeno |
|
![]() |
![]() |
2 Replies
3,504 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
6 Replies
6,451 Views |
![]() by Josh |
|
![]() |
![]() |
0 Replies
2,803 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
4,047 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
1 Replies
4,637 Views |
![]() by achillezzz |
|
![]() |
![]() |
3 Replies
4,026 Views |
![]() by laterade |
|
![]() |
![]() |
7 Replies
6,451 Views |
![]() by magnetic |
|
![]() |
![]() |
Question re links
Started by raw-al |
5 Replies
5,220 Views |
![]() by Iguana |
![]() |
![]() |
6 Replies
7,120 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Trouble with a post
Started by raw-al |
5 Replies
4,437 Views |
![]() by raw-al |
![]() |
![]() |
32 Replies
17,702 Views |
![]() by HIT_it_RAW |
|
![]() |
![]() |
8 Replies
7,416 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Paleo Community Survey
Started by goodsamaritan |
4 Replies
4,031 Views |
![]() by goodsamaritan |
![]() |
![]() |
Fishing anyone?
Started by kurite |
1 Replies
3,213 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
4,828 Views |
![]() by raw |
|
![]() |
![]() |
Fiat food
Started by sabertooth |
3 Replies
4,845 Views |
![]() by vander230 |
![]() |
![]() |
Ray Mears Endorses Paleo aspect of RPD
Started by PaleoPhil |
6 Replies
7,395 Views |
![]() by MaximilianKohler |
![]() |
![]() |
8 Replies
10,219 Views |
![]() by MaximilianKohler |
|
![]() |
![]() |
3 Replies
4,439 Views |
![]() by laterade |
|
![]() |
![]() |
Alarming new study on tap water
Started by Nation |
6 Replies
5,749 Views |
![]() by CHK91 |
![]() |
![]() |
Aajonus message of some sort
Started by TylerDurden |
0 Replies
3,445 Views |
![]() by TylerDurden |
![]() |
![]() |
Cordain Interview
Started by TylerDurden |
0 Replies
3,336 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,714 Views |
![]() by laterade |
|
![]() |
![]() |
New Aajonus e-mail re rawesome
Started by TylerDurden |
5 Replies
5,719 Views |
![]() by laterade |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll