/* * 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 46 Guests are viewing this board. | ||||
![]() |
![]() |
Don't sit; squatt!
Started by Nicola |
12 Replies
9,528 Views |
![]() by William |
![]() |
![]() |
0 Replies
4,289 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Chlorine-asthma connection
Started by TylerDurden |
0 Replies
4,622 Views |
![]() by TylerDurden |
![]() |
![]() |
Aajonus on one radio network this Monday
Started by davidg |
2 Replies
5,002 Views |
![]() by goodsamaritan |
![]() |
![]() |
Trick-and-Treat
Started by Nicola |
2 Replies
5,274 Views |
![]() by Nicola |
![]() |
![]() |
Himalayan Sole
Started by Nicola |
1 Replies
5,208 Views |
![]() by Raw Kyle |
![]() |
![]() |
Forum Upgraded to 1.1.6
Started by xylothrill |
0 Replies
4,225 Views |
![]() by xylothrill |
![]() |
![]() |
Protein and fat
Started by Nicola |
0 Replies
4,522 Views |
![]() by Nicola |
![]() |
![]() |
Vegetarians age faster
Started by Nicola |
1 Replies
5,202 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
Health Advantage
Started by Nicola |
1 Replies
5,196 Views |
![]() by William |
![]() |
![]() |
New Article Debunking BYV's claims
Started by Satya |
3 Replies
5,220 Views |
![]() by Satya |
![]() |
![]() |
First Nations People Return to Their Native Diet (Video)
Started by Craig |
4 Replies
7,306 Views |
![]() by xylothrill |
![]() |
![]() |
3 Replies
6,749 Views |
![]() by xylothrill |
|
![]() |
![]() |
2 Replies
4,989 Views |
![]() by akaikumo |
|
![]() |
![]() |
0 Replies
5,397 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Low carb forum
Started by Nicola |
1 Replies
5,250 Views |
![]() by xylothrill |
![]() |
![]() |
Calendar Events
Started by xylothrill |
0 Replies
4,463 Views |
![]() by xylothrill |
![]() |
![]() |
forum changes
Started by Satya |
3 Replies
5,729 Views |
![]() by Satya |
![]() |
![]() |
Big Fat Lies by Gary Taubes (Video)
Started by Craig |
8 Replies
10,158 Views |
![]() by wodgina |
![]() |
![]() |
Big Fat Lies: (Video)
Started by Craig |
2 Replies
5,460 Views |
![]() by xylothrill |
![]() |
![]() |
Plant toxins and Anti-nutrients
Started by Nicola |
1 Replies
6,619 Views |
![]() by xylothrill |
![]() |
![]() |
0 Replies
5,160 Views |
![]() by Nicola |
|
![]() |
![]() |
Paleodietonline
Started by Nicola |
1 Replies
5,150 Views |
![]() by xylothrill |
![]() |
![]() |
3 Replies
5,792 Views |
![]() by xylothrill |
|
![]() |
![]() |
Video - Dr. Ed Connaughtunon discusses raw paleo diet
Started by xylothrill |
0 Replies
6,500 Views |
![]() by xylothrill |
![]() |
![]() |
1 Replies
5,732 Views |
![]() by xylothrill |
|
![]() |
![]() |
0 Replies
5,812 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Our Sister Site: RawPaleoDiet.com and Mission Statement
Started by Craig |
0 Replies
10,134 Views |
![]() by Craig |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll