/* * 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 90 Guests are viewing this board. | ||||
![]() |
![]() |
Photos of surviving tribes in Africa
Started by TylerDurden |
1 Replies
2,192 Views |
![]() by goodsamaritan |
![]() |
![]() |
Inflammation key to aging
Started by TylerDurden |
0 Replies
1,913 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,510 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Feel the cold.......
Started by TylerDurden |
1 Replies
2,282 Views |
![]() by JeuneKoq |
![]() |
![]() |
1 Replies
2,193 Views |
![]() by sabertooth |
|
![]() |
![]() |
0 Replies
1,929 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Wind farms
Started by raw-al |
14 Replies
8,117 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
1,855 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Pro-Green initiatives a disaster
Started by TylerDurden |
0 Replies
1,813 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,750 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,071 Views |
![]() by TylerDurden |
|
![]() |
![]() |
UK diesel betrayal by the Greens
Started by TylerDurden |
0 Replies
1,835 Views |
![]() by TylerDurden |
![]() |
![]() |
The world's last isolated humans
Started by TylerDurden |
3 Replies
3,008 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
1,802 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,779 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Oh Joy!
Started by TylerDurden |
0 Replies
1,832 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,126 Views |
![]() by Iguana |
|
![]() |
![]() |
Cost of global pollution
Started by TylerDurden |
1 Replies
2,035 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,060 Views |
![]() by dariorpl |
|
![]() |
![]() |
1 Replies
2,123 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
1,755 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,816 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,123 Views |
![]() by sabertooth |
|
![]() |
![]() |
Mini-Ice-Age coming in 2030s
Started by TylerDurden |
19 Replies
9,217 Views |
![]() by RogueFarmer |
![]() |
![]() |
1 Replies
2,463 Views |
![]() by Drengr |
|
![]() |
![]() |
Unwanted adaptation to milk?
Started by LePatron7 |
11 Replies
5,824 Views |
![]() by HelpMeToHelpEwe |
![]() |
![]() |
Forthcoming apocalypse
Started by TylerDurden |
0 Replies
1,813 Views |
![]() by TylerDurden |
![]() |
![]() |
Interesting article on the Inuit
Started by TylerDurden |
0 Replies
1,803 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,772 Views |
![]() by TylerDurden |
|
![]() |
![]() |
More bio-hacking
Started by TylerDurden |
0 Replies
1,769 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,790 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,315 Views |
![]() by Drengr |
|
![]() |
![]() |
Yet another reason to buy local
Started by TylerDurden |
0 Replies
2,640 Views |
![]() by TylerDurden |
![]() |
![]() |
Pollution getting worse
Started by TylerDurden |
1 Replies
3,271 Views |
![]() by LePatron7 |
![]() |
![]() |
0 Replies
2,718 Views |
![]() by TylerDurden |
|
![]() |
![]() |
The end of the world as we know it
Started by raw-al |
24 Replies
11,202 Views |
![]() by sabertooth |
![]() |
![]() |
Foraging
Started by TylerDurden |
4 Replies
3,235 Views |
![]() by TylerDurden |
![]() |
![]() |
Another reason to avoid farmed fish
Started by TylerDurden |
1 Replies
2,215 Views |
![]() by dariorpl |
![]() |
![]() |
0 Replies
1,867 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Interesting article
Started by TylerDurden |
0 Replies
1,765 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,767 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Poignant story
Started by TylerDurden |
0 Replies
1,871 Views |
![]() by TylerDurden |
![]() |
![]() |
Was there really dinosaurs?
Started by raw-al |
4 Replies
3,655 Views |
![]() by dariorpl |
![]() |
![]() |
Food for thought
Started by TylerDurden |
0 Replies
1,845 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,187 Views |
![]() by dariorpl |
|
![]() |
![]() |
Urine grown tomatoes
Started by raw-al |
0 Replies
2,109 Views |
![]() by raw-al |
![]() |
![]() |
RVAF diet ideas re promotion
Started by TylerDurden |
1 Replies
2,385 Views |
![]() by dariorpl |
![]() |
![]() |
7 Replies
6,096 Views |
![]() by dariorpl |
|
![]() |
![]() |
Battery-farm horror
Started by TylerDurden |
0 Replies
1,952 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,821 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll