/* * 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 44 Guests are viewing this board. | ||||
![]() |
![]() |
Best BBQ foods
Started by Pammie |
4 Replies
3,570 Views |
![]() by Iguana |
![]() |
![]() |
6 Replies
3,869 Views |
![]() by Iguana |
|
![]() |
![]() |
Importance of organ meat
Started by Wai Kai Zen |
8 Replies
5,857 Views |
![]() by goodsamaritan |
![]() |
![]() |
2 Replies
2,631 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Junk Food study
Started by TylerDurden |
2 Replies
2,722 Views |
![]() by cherimoya_kid |
![]() |
![]() |
6 Replies
4,493 Views |
![]() by raw-al |
|
![]() |
![]() |
0 Replies
2,077 Views |
![]() by raw-al |
|
![]() |
![]() |
4 Replies
3,913 Views |
![]() by Iguana |
|
![]() |
![]() |
0 Replies
2,027 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
5 Replies
4,159 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Aging Successfully Reversed in Mice
Started by zbr5 |
2 Replies
2,880 Views |
![]() by zbr5 |
![]() |
![]() |
3 Replies
3,732 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
0 Replies
2,483 Views |
![]() by Ungullible |
|
![]() |
![]() |
30 Replies
19,110 Views |
![]() by Alive |
|
![]() |
![]() |
0 Replies
2,278 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Salt is aging
Started by TylerDurden |
4 Replies
3,071 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
3,873 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
72 Replies
38,674 Views |
![]() by sabertooth |
|
![]() |
![]() |
2 Replies
2,692 Views |
![]() by raw-al |
|
![]() |
![]() |
1 Replies
2,247 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
13 Replies
5,631 Views |
![]() by ys |
|
![]() |
![]() |
Need advice on raising happy children
Started by zbr5 |
4 Replies
3,179 Views |
![]() by goodsamaritan |
![]() |
![]() |
Insect-eater article
Started by TylerDurden |
15 Replies
9,016 Views |
![]() by cherimoya_kid |
![]() |
![]() |
0 Replies
2,221 Views |
![]() by jessica |
|
![]() |
![]() |
1 Replies
2,612 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
82 Replies
40,654 Views |
![]() by juvegede |
|
![]() |
![]() |
Fermented foods article
Started by TylerDurden |
1 Replies
2,824 Views |
![]() by Iguana |
![]() |
![]() |
22 Replies
25,318 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Intensive farming in the UK.
Started by TylerDurden |
1 Replies
2,798 Views |
![]() by nummi |
![]() |
![]() |
2 Replies
3,152 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
134 Replies
63,525 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Oral Hygiene of prehistoric men
Started by raw-al |
0 Replies
2,215 Views |
![]() by raw-al |
![]() |
![]() |
Diet Cola-derived health problems
Started by TylerDurden |
2 Replies
2,573 Views |
![]() by raw-al |
![]() |
![]() |
Raw Vegan Marathon
Started by TylerDurden |
6 Replies
3,543 Views |
![]() by raw-al |
![]() |
![]() |
2 Replies
2,963 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
MicroRNA survives processing, digestion to become part of your organs, GMO's
Started by CitrusHigh |
6 Replies
4,376 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
2,105 Views |
![]() by raw-al |
|
![]() |
![]() |
raw cheese article by Dr. Mercola
Started by Joy2012 |
2 Replies
3,908 Views |
![]() by jessica |
![]() |
![]() |
2 Replies
3,622 Views |
![]() by LePatron7 |
|
![]() |
![]() |
14 Replies
8,083 Views |
![]() by paper_clips43 |
|
![]() |
![]() |
Mercury in fish
Started by raw-al |
1 Replies
2,702 Views |
![]() by Inger |
![]() |
![]() |
Saturated Fat Myths
Started by raw-al |
10 Replies
6,112 Views |
![]() by TylerDurden |
![]() |
![]() |
Micky Dees 0 - Australia 1
Started by raw-al |
0 Replies
2,417 Views |
![]() by raw-al |
![]() |
![]() |
47 Replies
21,282 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
35 Replies
20,169 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
34 Replies
19,388 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
37 Replies
23,643 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 rasher of bacon a day significantly harms mens` fertility
Started by TylerDurden « 1 2 » |
30 Replies
15,075 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Raw Vegan Diet article
Started by TylerDurden |
1 Replies
2,687 Views |
![]() by svrn |
![]() |
![]() |
Is Corn somewhat Paleo?
Started by King Salmon |
18 Replies
30,344 Views |
![]() by Iguana |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll