/* * 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 342 Guests are viewing this board. | ||||
![]() |
![]() |
Photos of surviving tribes in Africa
Started by TylerDurden |
1 Replies
2,193 Views |
![]() by goodsamaritan |
![]() |
![]() |
Inflammation key to aging
Started by TylerDurden |
0 Replies
1,915 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,516 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Feel the cold.......
Started by TylerDurden |
1 Replies
2,291 Views |
![]() by JeuneKoq |
![]() |
![]() |
1 Replies
2,206 Views |
![]() by sabertooth |
|
![]() |
![]() |
0 Replies
1,940 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Wind farms
Started by raw-al |
14 Replies
8,141 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
1,863 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Pro-Green initiatives a disaster
Started by TylerDurden |
0 Replies
1,817 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,755 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,074 Views |
![]() by TylerDurden |
|
![]() |
![]() |
UK diesel betrayal by the Greens
Started by TylerDurden |
0 Replies
1,842 Views |
![]() by TylerDurden |
![]() |
![]() |
The world's last isolated humans
Started by TylerDurden |
3 Replies
3,017 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
1,808 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,783 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Oh Joy!
Started by TylerDurden |
0 Replies
1,834 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,131 Views |
![]() by Iguana |
|
![]() |
![]() |
Cost of global pollution
Started by TylerDurden |
1 Replies
2,037 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,069 Views |
![]() by dariorpl |
|
![]() |
![]() |
1 Replies
2,131 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
1,763 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,821 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,129 Views |
![]() by sabertooth |
|
![]() |
![]() |
Mini-Ice-Age coming in 2030s
Started by TylerDurden |
19 Replies
9,253 Views |
![]() by RogueFarmer |
![]() |
![]() |
1 Replies
2,469 Views |
![]() by Drengr |
|
![]() |
![]() |
Unwanted adaptation to milk?
Started by LePatron7 |
11 Replies
5,835 Views |
![]() by HelpMeToHelpEwe |
![]() |
![]() |
Forthcoming apocalypse
Started by TylerDurden |
0 Replies
1,819 Views |
![]() by TylerDurden |
![]() |
![]() |
Interesting article on the Inuit
Started by TylerDurden |
0 Replies
1,808 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,780 Views |
![]() by TylerDurden |
|
![]() |
![]() |
More bio-hacking
Started by TylerDurden |
0 Replies
1,777 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,792 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,318 Views |
![]() by Drengr |
|
![]() |
![]() |
Yet another reason to buy local
Started by TylerDurden |
0 Replies
2,644 Views |
![]() by TylerDurden |
![]() |
![]() |
Pollution getting worse
Started by TylerDurden |
1 Replies
3,273 Views |
![]() by LePatron7 |
![]() |
![]() |
0 Replies
2,725 Views |
![]() by TylerDurden |
|
![]() |
![]() |
The end of the world as we know it
Started by raw-al |
24 Replies
11,237 Views |
![]() by sabertooth |
![]() |
![]() |
Foraging
Started by TylerDurden |
4 Replies
3,262 Views |
![]() by TylerDurden |
![]() |
![]() |
Another reason to avoid farmed fish
Started by TylerDurden |
1 Replies
2,231 Views |
![]() by dariorpl |
![]() |
![]() |
0 Replies
1,877 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Interesting article
Started by TylerDurden |
0 Replies
1,774 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,778 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Poignant story
Started by TylerDurden |
0 Replies
1,877 Views |
![]() by TylerDurden |
![]() |
![]() |
Was there really dinosaurs?
Started by raw-al |
4 Replies
3,668 Views |
![]() by dariorpl |
![]() |
![]() |
Food for thought
Started by TylerDurden |
0 Replies
1,849 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,191 Views |
![]() by dariorpl |
|
![]() |
![]() |
Urine grown tomatoes
Started by raw-al |
0 Replies
2,112 Views |
![]() by raw-al |
![]() |
![]() |
RVAF diet ideas re promotion
Started by TylerDurden |
1 Replies
2,400 Views |
![]() by dariorpl |
![]() |
![]() |
7 Replies
6,198 Views |
![]() by dariorpl |
|
![]() |
![]() |
Battery-farm horror
Started by TylerDurden |
0 Replies
1,963 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,825 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll