/* * 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 26 Guests are viewing this board. | ||||
![]() |
![]() |
Hi everyone!
Started by FightDisinformation |
3 Replies
5,134 Views |
![]() by lilyalvin |
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
3,360 Views |
![]() by goodsamaritan |
![]() |
![]() |
Sources of Vitamin A, C, E, and Folate
Started by Techydude |
3 Replies
4,667 Views |
![]() by Blueknight |
![]() |
![]() |
3 Replies
3,506 Views |
![]() by eveheart |
|
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
3,003 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
3,903 Views |
![]() by Eva_R |
|
![]() |
![]() |
3 Replies
3,702 Views |
![]() by Poncho |
|
![]() |
![]() |
Hello, I'm new here.
Started by edmon171 |
3 Replies
3,822 Views |
![]() by sakshisinha |
![]() |
![]() |
Hello fellow cavepeoples
Started by Destor |
3 Replies
3,041 Views |
![]() by Destor |
![]() |
![]() |
Hello from the Philippines
Started by Fitawep123 |
3 Replies
4,173 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
3,881 Views |
![]() by zbr5 |
![]() |
![]() |
3 Replies
3,744 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Introducing myself.
Started by apollo00 |
3 Replies
9,100 Views |
![]() by trafficmoivio |
![]() |
![]() |
Where do I start?
Started by Rod Franklin |
3 Replies
3,290 Views |
![]() by TylerDurden |
![]() |
![]() |
Learning more about raw meat as an option
Started by JJ |
3 Replies
4,233 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings everyone!
Started by Paganwar56 |
3 Replies
4,612 Views |
![]() by Bradley David Good |
![]() |
![]() |
raw beginner
Started by justincase |
3 Replies
3,764 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
2,838 Views |
![]() by huntress |
|
![]() |
![]() |
Hello everyone!
Started by GourmetConfession |
3 Replies
4,432 Views |
![]() by eveheart |
![]() |
![]() |
3 Replies
3,608 Views |
![]() by RawZi |
|
![]() |
![]() |
Raw Eggs in diet
Started by Exmoor |
3 Replies
5,044 Views |
![]() by marywash |
![]() |
![]() |
3 Replies
3,113 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
I come in peace
Started by Widukind |
3 Replies
3,895 Views |
![]() by TylerDurden |
![]() |
![]() |
New Here...Hi To All :)
Started by Foods4Health |
3 Replies
3,324 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from Japan!!
Started by skyz0blue |
3 Replies
3,417 Views |
![]() by TylerDurden |
![]() |
![]() |
G'day there
Started by Cobb Clan |
3 Replies
3,574 Views |
![]() by Cobb Clan |
![]() |
![]() |
3 Replies
3,902 Views |
![]() by dsohei |
|
![]() |
![]() |
Hello people
Started by sandman |
3 Replies
3,513 Views |
![]() by Sameenajee1 |
![]() |
![]() |
new guy here
Started by Witty Name |
3 Replies
3,568 Views |
![]() by TylerDurden |
![]() |
![]() |
You all really are some of the best!
Started by MDee |
3 Replies
3,191 Views |
![]() by MDee |
![]() |
![]() |
Greetings from Spain !
Started by Ramsay |
3 Replies
4,137 Views |
![]() by SouthernSpain11 |
![]() |
![]() |
3 Replies
3,037 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Greetings from the UK
Started by Fat of the land |
3 Replies
5,262 Views |
![]() by Raw-nature |
![]() |
![]() |
Hello there!
Started by Sarah4 |
3 Replies
3,769 Views |
![]() by Martin |
![]() |
![]() |
Hello, everyone.
Started by Qondrar_The_Redeemer |
3 Replies
6,149 Views |
![]() by jennymolin |
![]() |
![]() |
Salutations from a Recent Convert!
Started by zeno |
3 Replies
3,461 Views |
![]() by zeno |
![]() |
![]() |
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
4,726 Views |
![]() by Dorothy |
![]() |
![]() |
3 Replies
3,815 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
3 Replies
3,554 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New to community, Have some questions
Started by consoomer |
3 Replies
4,746 Views |
![]() by MarkR |
![]() |
![]() |
New Guy from Florida
Started by Raw in Florida |
3 Replies
3,687 Views |
![]() by Raw in Florida |
![]() |
![]() |
New to Raw Paleo, in search of health
Started by Rob |
3 Replies
3,111 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
3,479 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,677 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Beginning Raw Paleo
Started by matattack |
3 Replies
3,898 Views |
![]() by Charlie4444 |
![]() |
![]() |
New to raw animal foods
Started by joej627 |
3 Replies
3,083 Views |
![]() by TylerDurden |
![]() |
![]() |
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
3,227 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,398 Views |
![]() by LePatron7 |
|
![]() |
![]() |
14 year old - Eating problem
Started by Gadsie |
3 Replies
4,807 Views |
![]() by Funky Raw Rob |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,196 Views |
![]() by CitrusHigh |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll