/* * 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 107 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
4,799 Views |
![]() by raw-al |
|
![]() |
![]() |
155 Replies
107,480 Views |
![]() by surfsteve |
|
![]() |
![]() |
4 Replies
4,601 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,560 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Some of my questions need settling
Started by Sarararah |
2 Replies
3,343 Views |
![]() by Sarararah |
![]() |
![]() |
Chemicals in fruits etc.
Started by TylerDurden |
2 Replies
3,116 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,870 Views |
![]() by surfsteve |
|
![]() |
![]() |
How junk food causes depression
Started by TylerDurden |
1 Replies
2,710 Views |
![]() by surfsteve |
![]() |
![]() |
The Central Dogma
Started by RogueFarmer |
0 Replies
2,601 Views |
![]() by RogueFarmer |
![]() |
![]() |
0 Replies
2,426 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Can tea help me lose my weight?
Started by Sarararah |
3 Replies
3,625 Views |
![]() by PaleoPatsy |
![]() |
![]() |
3 Replies
3,742 Views |
![]() by dariorpl |
|
![]() |
![]() |
Advanced Pre Ice Age Civilizations
Started by RogueFarmer |
1 Replies
3,186 Views |
![]() by Projectile Vomit |
![]() |
![]() |
2 Replies
3,374 Views |
![]() by cobalamin |
|
![]() |
![]() |
3 Replies
3,982 Views |
![]() by Alive |
|
![]() |
![]() |
1 Replies
3,660 Views |
![]() by the6step |
|
![]() |
![]() |
6 Replies
5,872 Views |
![]() by cobalamin |
|
![]() |
![]() |
Selenium yeast
Started by RogueFarmer |
1 Replies
3,085 Views |
![]() by van |
![]() |
![]() |
15 Replies
8,088 Views |
![]() by raw-al |
|
![]() |
![]() |
39 Replies
20,009 Views |
![]() by cobalamin |
|
![]() |
![]() |
0 Replies
2,519 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,339 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,248 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,805 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
New fad DNA diet
Started by TylerDurden |
1 Replies
2,656 Views |
![]() by Drengr |
![]() |
![]() |
Vegan propaganda
Started by TylerDurden |
0 Replies
2,441 Views |
![]() by TylerDurden |
![]() |
![]() |
Preventing mould
Started by raw-al |
4 Replies
4,016 Views |
![]() by raw-al |
![]() |
![]() |
Petition for Canadians Re: GMO labelling.
Started by raw-al |
2 Replies
3,236 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
2,500 Views |
![]() by raw-al |
|
![]() |
![]() |
Mouth WATERING
Started by RogueFarmer |
0 Replies
2,650 Views |
![]() by RogueFarmer |
![]() |
![]() |
0 Replies
2,361 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Are Sweetie Grapefruits GMO?
Started by raw-al |
0 Replies
2,464 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
2,326 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,265 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,266 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,271 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,226 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,167 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Soya damages sperm
Started by TylerDurden |
0 Replies
2,139 Views |
![]() by TylerDurden |
![]() |
![]() |
Article on "The Ethical Carnivore "
Started by TylerDurden |
0 Replies
2,092 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,123 Views |
![]() by TylerDurden |
|
![]() |
![]() |
The future of food ??? :o
Started by TylerDurden |
0 Replies
2,196 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
2,980 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
Marijuana and the FUTURE OF FOOD
Started by RogueFarmer |
8 Replies
5,210 Views |
![]() by HelpMeToHelpEwe |
![]() |
![]() |
0 Replies
2,325 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Vitamix: effect on nutrition
Started by raw-al |
1 Replies
2,786 Views |
![]() by dariorpl |
![]() |
![]() |
0 Replies
2,191 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,311 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Sushi unhealthier than you may think
Started by TylerDurden « 1 2 » |
27 Replies
14,382 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,257 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll