/* * 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 88 Guests are viewing this board. | ||||
![]() |
![]() |
7 Replies
9,148 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Infrared experimentation/biohacking
Started by TylerDurden |
7 Replies
9,696 Views |
![]() by van |
![]() |
![]() |
0 Replies
7,556 Views |
![]() by TylerDurden |
|
![]() |
![]() |
More vegan authoritarianism...
Started by TylerDurden |
0 Replies
6,890 Views |
![]() by TylerDurden |
![]() |
![]() |
Dam removal
Started by dair |
0 Replies
7,167 Views |
![]() by dair |
![]() |
![]() |
microplastics...
Started by dair |
0 Replies
7,003 Views |
![]() by dair |
![]() |
![]() |
7 Replies
9,974 Views |
![]() by dair |
|
![]() |
![]() |
2 Replies
7,622 Views |
![]() by dair |
|
![]() |
![]() |
No shampoo thread
Started by TylerDurden |
0 Replies
6,503 Views |
![]() by TylerDurden |
![]() |
![]() |
Every RVAFers' dream....
Started by TylerDurden |
0 Replies
5,625 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
4,859 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Living off the grid example
Started by TylerDurden |
0 Replies
4,260 Views |
![]() by TylerDurden |
![]() |
![]() |
Raw Paleo Diet Forum Statistics
Started by Projectile Vomit « 1 2 » |
27 Replies
20,033 Views |
![]() by van |
![]() |
![]() |
0 Replies
4,287 Views |
![]() by PaganGoy |
|
![]() |
![]() |
1 Replies
3,798 Views |
![]() by a_real_man |
|
![]() |
![]() |
Most polluting cities
Started by TylerDurden |
0 Replies
3,162 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,881 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Delete My Account
Started by Sully |
1 Replies
3,330 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,736 Views |
![]() by NuclearKnight |
|
![]() |
![]() |
1 Replies
2,360 Views |
![]() by dair |
|
![]() |
![]() |
Indonesia: disneyland for tobacco
Started by dair |
0 Replies
1,991 Views |
![]() by dair |
![]() |
![]() |
0 Replies
1,829 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Permanent bio-hacking thread
Started by TylerDurden |
0 Replies
1,864 Views |
![]() by TylerDurden |
![]() |
![]() |
Obvious point made re Fermi Paradox
Started by TylerDurden |
1 Replies
2,080 Views |
![]() by TylerDurden |
![]() |
![]() |
Radioactive boars
Started by dair |
2 Replies
2,530 Views |
![]() by dair |
![]() |
![]() |
mussels with opioids?
Started by dair |
0 Replies
1,926 Views |
![]() by dair |
![]() |
![]() |
worms eating plastic
Started by dair |
2 Replies
2,558 Views |
![]() by TylerDurden |
![]() |
![]() |
eggshells and tomatoe skins for tires
Started by dair |
0 Replies
1,941 Views |
![]() by dair |
![]() |
![]() |
Absurd claim from the Caucasus
Started by TylerDurden |
1 Replies
2,615 Views |
![]() by dair |
![]() |
![]() |
Carbon monoxide in sushi
Started by TylerDurden |
1 Replies
2,125 Views |
![]() by a_real_man |
![]() |
![]() |
Beware gluten-free/whey-free lies!
Started by TylerDurden |
0 Replies
1,901 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,127 Views |
![]() by dariorpl |
|
![]() |
![]() |
World faces staggering obesity crisis
Started by TylerDurden |
0 Replies
1,921 Views |
![]() by TylerDurden |
![]() |
![]() |
islands created from trees
Started by PaganGoy |
0 Replies
2,024 Views |
![]() by PaganGoy |
![]() |
![]() |
Parma ham exposure
Started by TylerDurden |
0 Replies
1,858 Views |
![]() by TylerDurden |
![]() |
![]() |
Rewilding failure in Holland
Started by dair |
1 Replies
2,144 Views |
![]() by TylerDurden |
![]() |
![]() |
California first to ban lead in ammo
Started by dair |
0 Replies
1,872 Views |
![]() by dair |
![]() |
![]() |
About New-Zealand, Maoris, and a river
Started by dair |
0 Replies
1,932 Views |
![]() by dair |
![]() |
![]() |
Japanese art of forest bathing
Started by TylerDurden |
0 Replies
1,847 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,851 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,429 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Removing junk posts
Started by TylerDurden |
0 Replies
1,838 Views |
![]() by TylerDurden |
![]() |
![]() |
Britain's fattest neighbourhood
Started by TylerDurden |
0 Replies
1,849 Views |
![]() by TylerDurden |
![]() |
![]() |
Pollution causes acne
Started by TylerDurden |
0 Replies
1,850 Views |
![]() by TylerDurden |
![]() |
![]() |
Oceanic dead zones growing
Started by TylerDurden |
0 Replies
1,887 Views |
![]() by TylerDurden |
![]() |
![]() |
Minor point re ethnic cuisine
Started by TylerDurden |
5 Replies
3,563 Views |
![]() by dariorpl |
![]() |
![]() |
19 Replies
8,386 Views |
![]() by ys |
|
![]() |
![]() |
0 Replies
1,980 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,805 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,861 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll