/* * 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 28 Guests are viewing this board. | ||||
![]() |
![]() |
7 Replies
8,580 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Infrared experimentation/biohacking
Started by TylerDurden |
7 Replies
9,062 Views |
![]() by van |
![]() |
![]() |
0 Replies
7,273 Views |
![]() by TylerDurden |
|
![]() |
![]() |
More vegan authoritarianism...
Started by TylerDurden |
0 Replies
6,626 Views |
![]() by TylerDurden |
![]() |
![]() |
Dam removal
Started by dair |
0 Replies
6,917 Views |
![]() by dair |
![]() |
![]() |
microplastics...
Started by dair |
0 Replies
6,752 Views |
![]() by dair |
![]() |
![]() |
7 Replies
9,514 Views |
![]() by dair |
|
![]() |
![]() |
2 Replies
7,306 Views |
![]() by dair |
|
![]() |
![]() |
No shampoo thread
Started by TylerDurden |
0 Replies
6,240 Views |
![]() by TylerDurden |
![]() |
![]() |
Every RVAFers' dream....
Started by TylerDurden |
0 Replies
5,382 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
4,612 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Living off the grid example
Started by TylerDurden |
0 Replies
3,983 Views |
![]() by TylerDurden |
![]() |
![]() |
Raw Paleo Diet Forum Statistics
Started by Projectile Vomit « 1 2 » |
27 Replies
18,152 Views |
![]() by van |
![]() |
![]() |
0 Replies
4,009 Views |
![]() by PaganGoy |
|
![]() |
![]() |
1 Replies
3,505 Views |
![]() by a_real_man |
|
![]() |
![]() |
Most polluting cities
Started by TylerDurden |
0 Replies
2,910 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,622 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Delete My Account
Started by Sully |
1 Replies
3,015 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,345 Views |
![]() by NuclearKnight |
|
![]() |
![]() |
1 Replies
2,094 Views |
![]() by dair |
|
![]() |
![]() |
Indonesia: disneyland for tobacco
Started by dair |
0 Replies
1,757 Views |
![]() by dair |
![]() |
![]() |
0 Replies
1,611 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Permanent bio-hacking thread
Started by TylerDurden |
0 Replies
1,628 Views |
![]() by TylerDurden |
![]() |
![]() |
Obvious point made re Fermi Paradox
Started by TylerDurden |
1 Replies
1,829 Views |
![]() by TylerDurden |
![]() |
![]() |
Radioactive boars
Started by dair |
2 Replies
2,242 Views |
![]() by dair |
![]() |
![]() |
mussels with opioids?
Started by dair |
0 Replies
1,695 Views |
![]() by dair |
![]() |
![]() |
worms eating plastic
Started by dair |
2 Replies
2,230 Views |
![]() by TylerDurden |
![]() |
![]() |
eggshells and tomatoe skins for tires
Started by dair |
0 Replies
1,697 Views |
![]() by dair |
![]() |
![]() |
Absurd claim from the Caucasus
Started by TylerDurden |
1 Replies
2,294 Views |
![]() by dair |
![]() |
![]() |
Carbon monoxide in sushi
Started by TylerDurden |
1 Replies
1,832 Views |
![]() by a_real_man |
![]() |
![]() |
Beware gluten-free/whey-free lies!
Started by TylerDurden |
0 Replies
1,654 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
1,901 Views |
![]() by dariorpl |
|
![]() |
![]() |
World faces staggering obesity crisis
Started by TylerDurden |
0 Replies
1,674 Views |
![]() by TylerDurden |
![]() |
![]() |
islands created from trees
Started by PaganGoy |
0 Replies
1,812 Views |
![]() by PaganGoy |
![]() |
![]() |
Parma ham exposure
Started by TylerDurden |
0 Replies
1,635 Views |
![]() by TylerDurden |
![]() |
![]() |
Rewilding failure in Holland
Started by dair |
1 Replies
1,900 Views |
![]() by TylerDurden |
![]() |
![]() |
California first to ban lead in ammo
Started by dair |
0 Replies
1,648 Views |
![]() by dair |
![]() |
![]() |
About New-Zealand, Maoris, and a river
Started by dair |
0 Replies
1,710 Views |
![]() by dair |
![]() |
![]() |
Japanese art of forest bathing
Started by TylerDurden |
0 Replies
1,639 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,640 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,177 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Removing junk posts
Started by TylerDurden |
0 Replies
1,624 Views |
![]() by TylerDurden |
![]() |
![]() |
Britain's fattest neighbourhood
Started by TylerDurden |
0 Replies
1,652 Views |
![]() by TylerDurden |
![]() |
![]() |
Pollution causes acne
Started by TylerDurden |
0 Replies
1,660 Views |
![]() by TylerDurden |
![]() |
![]() |
Oceanic dead zones growing
Started by TylerDurden |
0 Replies
1,660 Views |
![]() by TylerDurden |
![]() |
![]() |
Minor point re ethnic cuisine
Started by TylerDurden |
5 Replies
3,093 Views |
![]() by dariorpl |
![]() |
![]() |
19 Replies
7,151 Views |
![]() by ys |
|
![]() |
![]() |
0 Replies
1,742 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,589 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,647 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll