/* * 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 ![]() |
Last post | ||
---|---|---|---|---|
0 Members and 33 Guests are viewing this board. | ||||
![]() |
![]() |
Hi everyone!
Started by FightDisinformation |
3 Replies
5,138 Views |
![]() by lilyalvin |
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
3,366 Views |
![]() by goodsamaritan |
![]() |
![]() |
Sources of Vitamin A, C, E, and Folate
Started by Techydude |
3 Replies
4,675 Views |
![]() by Blueknight |
![]() |
![]() |
3 Replies
3,515 Views |
![]() by eveheart |
|
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
3,007 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
3,907 Views |
![]() by Eva_R |
|
![]() |
![]() |
3 Replies
3,706 Views |
![]() by Poncho |
|
![]() |
![]() |
Hello, I'm new here.
Started by edmon171 |
3 Replies
3,824 Views |
![]() by sakshisinha |
![]() |
![]() |
Hello fellow cavepeoples
Started by Destor |
3 Replies
3,045 Views |
![]() by Destor |
![]() |
![]() |
Hello from the Philippines
Started by Fitawep123 |
3 Replies
4,178 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
3,895 Views |
![]() by zbr5 |
![]() |
![]() |
3 Replies
3,747 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Introducing myself.
Started by apollo00 |
3 Replies
9,116 Views |
![]() by trafficmoivio |
![]() |
![]() |
Where do I start?
Started by Rod Franklin |
3 Replies
3,294 Views |
![]() by TylerDurden |
![]() |
![]() |
Learning more about raw meat as an option
Started by JJ |
3 Replies
4,245 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings everyone!
Started by Paganwar56 |
3 Replies
4,622 Views |
![]() by Bradley David Good |
![]() |
![]() |
raw beginner
Started by justincase |
3 Replies
3,768 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
2,845 Views |
![]() by huntress |
|
![]() |
![]() |
Hello everyone!
Started by GourmetConfession |
3 Replies
4,436 Views |
![]() by eveheart |
![]() |
![]() |
3 Replies
3,612 Views |
![]() by RawZi |
|
![]() |
![]() |
Raw Eggs in diet
Started by Exmoor |
3 Replies
5,050 Views |
![]() by marywash |
![]() |
![]() |
3 Replies
3,118 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
I come in peace
Started by Widukind |
3 Replies
3,908 Views |
![]() by TylerDurden |
![]() |
![]() |
New Here...Hi To All :)
Started by Foods4Health |
3 Replies
3,328 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from Japan!!
Started by skyz0blue |
3 Replies
3,421 Views |
![]() by TylerDurden |
![]() |
![]() |
G'day there
Started by Cobb Clan |
3 Replies
3,583 Views |
![]() by Cobb Clan |
![]() |
![]() |
3 Replies
3,907 Views |
![]() by dsohei |
|
![]() |
![]() |
Hello people
Started by sandman |
3 Replies
3,520 Views |
![]() by Sameenajee1 |
![]() |
![]() |
new guy here
Started by Witty Name |
3 Replies
3,569 Views |
![]() by TylerDurden |
![]() |
![]() |
You all really are some of the best!
Started by MDee |
3 Replies
3,197 Views |
![]() by MDee |
![]() |
![]() |
Greetings from Spain !
Started by Ramsay |
3 Replies
4,139 Views |
![]() by SouthernSpain11 |
![]() |
![]() |
3 Replies
3,041 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Greetings from the UK
Started by Fat of the land |
3 Replies
5,278 Views |
![]() by Raw-nature |
![]() |
![]() |
Hello there!
Started by Sarah4 |
3 Replies
3,775 Views |
![]() by Martin |
![]() |
![]() |
Hello, everyone.
Started by Qondrar_The_Redeemer |
3 Replies
6,164 Views |
![]() by jennymolin |
![]() |
![]() |
Salutations from a Recent Convert!
Started by zeno |
3 Replies
3,466 Views |
![]() by zeno |
![]() |
![]() |
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
4,730 Views |
![]() by Dorothy |
![]() |
![]() |
3 Replies
3,818 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
3 Replies
3,558 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New to community, Have some questions
Started by consoomer |
3 Replies
4,757 Views |
![]() by MarkR |
![]() |
![]() |
New Guy from Florida
Started by Raw in Florida |
3 Replies
3,690 Views |
![]() by Raw in Florida |
![]() |
![]() |
New to Raw Paleo, in search of health
Started by Rob |
3 Replies
3,117 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
3,481 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,682 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Beginning Raw Paleo
Started by matattack |
3 Replies
3,903 Views |
![]() by Charlie4444 |
![]() |
![]() |
New to raw animal foods
Started by joej627 |
3 Replies
3,094 Views |
![]() by TylerDurden |
![]() |
![]() |
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
3,229 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,406 Views |
![]() by LePatron7 |
|
![]() |
![]() |
14 year old - Eating problem
Started by Gadsie |
3 Replies
4,813 Views |
![]() by Funky Raw Rob |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,199 Views |
![]() by CitrusHigh |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll