/* * 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 79 Guests are viewing this board. | ||||
![]() |
![]() |
7 Replies
8,938 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Infrared experimentation/biohacking
Started by TylerDurden |
7 Replies
9,484 Views |
![]() by van |
![]() |
![]() |
0 Replies
7,464 Views |
![]() by TylerDurden |
|
![]() |
![]() |
More vegan authoritarianism...
Started by TylerDurden |
0 Replies
6,801 Views |
![]() by TylerDurden |
![]() |
![]() |
Dam removal
Started by dair |
0 Replies
7,077 Views |
![]() by dair |
![]() |
![]() |
microplastics...
Started by dair |
0 Replies
6,910 Views |
![]() by dair |
![]() |
![]() |
7 Replies
9,837 Views |
![]() by dair |
|
![]() |
![]() |
2 Replies
7,514 Views |
![]() by dair |
|
![]() |
![]() |
No shampoo thread
Started by TylerDurden |
0 Replies
6,423 Views |
![]() by TylerDurden |
![]() |
![]() |
Every RVAFers' dream....
Started by TylerDurden |
0 Replies
5,545 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
4,766 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Living off the grid example
Started by TylerDurden |
0 Replies
4,176 Views |
![]() by TylerDurden |
![]() |
![]() |
Raw Paleo Diet Forum Statistics
Started by Projectile Vomit « 1 2 » |
27 Replies
19,469 Views |
![]() by van |
![]() |
![]() |
0 Replies
4,191 Views |
![]() by PaganGoy |
|
![]() |
![]() |
1 Replies
3,702 Views |
![]() by a_real_man |
|
![]() |
![]() |
Most polluting cities
Started by TylerDurden |
0 Replies
3,080 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,807 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Delete My Account
Started by Sully |
1 Replies
3,229 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,631 Views |
![]() by NuclearKnight |
|
![]() |
![]() |
1 Replies
2,278 Views |
![]() by dair |
|
![]() |
![]() |
Indonesia: disneyland for tobacco
Started by dair |
0 Replies
1,904 Views |
![]() by dair |
![]() |
![]() |
0 Replies
1,765 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Permanent bio-hacking thread
Started by TylerDurden |
0 Replies
1,791 Views |
![]() by TylerDurden |
![]() |
![]() |
Obvious point made re Fermi Paradox
Started by TylerDurden |
1 Replies
1,998 Views |
![]() by TylerDurden |
![]() |
![]() |
Radioactive boars
Started by dair |
2 Replies
2,423 Views |
![]() by dair |
![]() |
![]() |
mussels with opioids?
Started by dair |
0 Replies
1,854 Views |
![]() by dair |
![]() |
![]() |
worms eating plastic
Started by dair |
2 Replies
2,450 Views |
![]() by TylerDurden |
![]() |
![]() |
eggshells and tomatoe skins for tires
Started by dair |
0 Replies
1,867 Views |
![]() by dair |
![]() |
![]() |
Absurd claim from the Caucasus
Started by TylerDurden |
1 Replies
2,523 Views |
![]() by dair |
![]() |
![]() |
Carbon monoxide in sushi
Started by TylerDurden |
1 Replies
2,035 Views |
![]() by a_real_man |
![]() |
![]() |
Beware gluten-free/whey-free lies!
Started by TylerDurden |
0 Replies
1,820 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,050 Views |
![]() by dariorpl |
|
![]() |
![]() |
World faces staggering obesity crisis
Started by TylerDurden |
0 Replies
1,835 Views |
![]() by TylerDurden |
![]() |
![]() |
islands created from trees
Started by PaganGoy |
0 Replies
1,947 Views |
![]() by PaganGoy |
![]() |
![]() |
Parma ham exposure
Started by TylerDurden |
0 Replies
1,775 Views |
![]() by TylerDurden |
![]() |
![]() |
Rewilding failure in Holland
Started by dair |
1 Replies
2,057 Views |
![]() by TylerDurden |
![]() |
![]() |
California first to ban lead in ammo
Started by dair |
0 Replies
1,796 Views |
![]() by dair |
![]() |
![]() |
About New-Zealand, Maoris, and a river
Started by dair |
0 Replies
1,846 Views |
![]() by dair |
![]() |
![]() |
Japanese art of forest bathing
Started by TylerDurden |
0 Replies
1,770 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,783 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,347 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Removing junk posts
Started by TylerDurden |
0 Replies
1,769 Views |
![]() by TylerDurden |
![]() |
![]() |
Britain's fattest neighbourhood
Started by TylerDurden |
0 Replies
1,786 Views |
![]() by TylerDurden |
![]() |
![]() |
Pollution causes acne
Started by TylerDurden |
0 Replies
1,780 Views |
![]() by TylerDurden |
![]() |
![]() |
Oceanic dead zones growing
Started by TylerDurden |
0 Replies
1,814 Views |
![]() by TylerDurden |
![]() |
![]() |
Minor point re ethnic cuisine
Started by TylerDurden |
5 Replies
3,442 Views |
![]() by dariorpl |
![]() |
![]() |
19 Replies
7,992 Views |
![]() by ys |
|
![]() |
![]() |
0 Replies
1,909 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,726 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,790 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll