/* * 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 93 Guests are viewing this board. | ||||
![]() |
![]() |
7 Replies
8,928 Views |
![]() by Projectile Vomit |
|
![]() |
![]() |
Infrared experimentation/biohacking
Started by TylerDurden |
7 Replies
9,470 Views |
![]() by van |
![]() |
![]() |
0 Replies
7,456 Views |
![]() by TylerDurden |
|
![]() |
![]() |
More vegan authoritarianism...
Started by TylerDurden |
0 Replies
6,793 Views |
![]() by TylerDurden |
![]() |
![]() |
Dam removal
Started by dair |
0 Replies
7,069 Views |
![]() by dair |
![]() |
![]() |
microplastics...
Started by dair |
0 Replies
6,906 Views |
![]() by dair |
![]() |
![]() |
7 Replies
9,831 Views |
![]() by dair |
|
![]() |
![]() |
2 Replies
7,510 Views |
![]() by dair |
|
![]() |
![]() |
No shampoo thread
Started by TylerDurden |
0 Replies
6,418 Views |
![]() by TylerDurden |
![]() |
![]() |
Every RVAFers' dream....
Started by TylerDurden |
0 Replies
5,540 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
4,757 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Living off the grid example
Started by TylerDurden |
0 Replies
4,172 Views |
![]() by TylerDurden |
![]() |
![]() |
Raw Paleo Diet Forum Statistics
Started by Projectile Vomit « 1 2 » |
27 Replies
19,448 Views |
![]() by van |
![]() |
![]() |
0 Replies
4,189 Views |
![]() by PaganGoy |
|
![]() |
![]() |
1 Replies
3,693 Views |
![]() by a_real_man |
|
![]() |
![]() |
Most polluting cities
Started by TylerDurden |
0 Replies
3,074 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,802 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Delete My Account
Started by Sully |
1 Replies
3,225 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,628 Views |
![]() by NuclearKnight |
|
![]() |
![]() |
1 Replies
2,271 Views |
![]() by dair |
|
![]() |
![]() |
Indonesia: disneyland for tobacco
Started by dair |
0 Replies
1,898 Views |
![]() by dair |
![]() |
![]() |
0 Replies
1,759 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Permanent bio-hacking thread
Started by TylerDurden |
0 Replies
1,784 Views |
![]() by TylerDurden |
![]() |
![]() |
Obvious point made re Fermi Paradox
Started by TylerDurden |
1 Replies
1,987 Views |
![]() by TylerDurden |
![]() |
![]() |
Radioactive boars
Started by dair |
2 Replies
2,416 Views |
![]() by dair |
![]() |
![]() |
mussels with opioids?
Started by dair |
0 Replies
1,847 Views |
![]() by dair |
![]() |
![]() |
worms eating plastic
Started by dair |
2 Replies
2,441 Views |
![]() by TylerDurden |
![]() |
![]() |
eggshells and tomatoe skins for tires
Started by dair |
0 Replies
1,857 Views |
![]() by dair |
![]() |
![]() |
Absurd claim from the Caucasus
Started by TylerDurden |
1 Replies
2,513 Views |
![]() by dair |
![]() |
![]() |
Carbon monoxide in sushi
Started by TylerDurden |
1 Replies
2,030 Views |
![]() by a_real_man |
![]() |
![]() |
Beware gluten-free/whey-free lies!
Started by TylerDurden |
0 Replies
1,813 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,043 Views |
![]() by dariorpl |
|
![]() |
![]() |
World faces staggering obesity crisis
Started by TylerDurden |
0 Replies
1,831 Views |
![]() by TylerDurden |
![]() |
![]() |
islands created from trees
Started by PaganGoy |
0 Replies
1,938 Views |
![]() by PaganGoy |
![]() |
![]() |
Parma ham exposure
Started by TylerDurden |
0 Replies
1,769 Views |
![]() by TylerDurden |
![]() |
![]() |
Rewilding failure in Holland
Started by dair |
1 Replies
2,050 Views |
![]() by TylerDurden |
![]() |
![]() |
California first to ban lead in ammo
Started by dair |
0 Replies
1,790 Views |
![]() by dair |
![]() |
![]() |
About New-Zealand, Maoris, and a river
Started by dair |
0 Replies
1,839 Views |
![]() by dair |
![]() |
![]() |
Japanese art of forest bathing
Started by TylerDurden |
0 Replies
1,763 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,778 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,339 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Removing junk posts
Started by TylerDurden |
0 Replies
1,763 Views |
![]() by TylerDurden |
![]() |
![]() |
Britain's fattest neighbourhood
Started by TylerDurden |
0 Replies
1,782 Views |
![]() by TylerDurden |
![]() |
![]() |
Pollution causes acne
Started by TylerDurden |
0 Replies
1,777 Views |
![]() by TylerDurden |
![]() |
![]() |
Oceanic dead zones growing
Started by TylerDurden |
0 Replies
1,812 Views |
![]() by TylerDurden |
![]() |
![]() |
Minor point re ethnic cuisine
Started by TylerDurden |
5 Replies
3,435 Views |
![]() by dariorpl |
![]() |
![]() |
19 Replies
7,969 Views |
![]() by ys |
|
![]() |
![]() |
0 Replies
1,903 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,721 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,781 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll