/* * 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 25 Guests are viewing this board. | ||||
![]() |
![]() |
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
22,198 Views |
![]() by Waungata |
![]() |
![]() |
0 Replies
2,359 Views |
![]() by SuplementosDude |
|
![]() |
![]() |
Hello There
Started by Nishwash |
1 Replies
2,394 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello all, newcomer here
Started by OnyxPoet |
0 Replies
2,433 Views |
![]() by OnyxPoet |
![]() |
![]() |
0 Replies
2,456 Views |
![]() by raw-al |
|
![]() |
![]() |
0 Replies
2,458 Views |
![]() by dmoffett |
|
![]() |
![]() |
Gratitude
Started by feralflannery |
0 Replies
2,490 Views |
![]() by feralflannery |
![]() |
![]() |
oops posted in wrong place
Started by tnlcrossfitter |
0 Replies
2,493 Views |
![]() by tnlcrossfitter |
![]() |
![]() |
Hi, I would like to introduce
Started by STZGluten Free |
0 Replies
2,505 Views |
![]() by STZGluten Free |
![]() |
![]() |
It is nice to meet you!
Started by Muhammad.Sunshine |
1 Replies
2,532 Views |
![]() by CitrusHigh |
![]() |
![]() |
My intro
Started by raw_iz_good |
1 Replies
2,542 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,548 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Getting Started
Started by csesuvra |
1 Replies
2,566 Views |
![]() by CitrusHigh |
![]() |
![]() |
Update on Newbie
Started by Eva_R |
0 Replies
2,589 Views |
![]() by Eva_R |
![]() |
![]() |
New here but not new to raw lifestyle
Started by Taste Sense |
0 Replies
2,626 Views |
![]() by Taste Sense |
![]() |
![]() |
Hello to everyone!
Started by Intoit |
1 Replies
2,644 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi everyone! just taking a look around
Started by babetteq |
1 Replies
2,647 Views |
![]() by TylerDurden |
![]() |
![]() |
quick hello
Started by popeye |
1 Replies
2,650 Views |
![]() by PaleoPhil |
![]() |
![]() |
Girlfriend and I are new to paleo
Started by misswoo |
1 Replies
2,651 Views |
![]() by TylerDurden |
![]() |
![]() |
Weight Training
Started by jliska |
1 Replies
2,659 Views |
![]() by Sully |
![]() |
![]() |
0 Replies
2,666 Views |
![]() by EthicalSuppliers |
|
![]() |
![]() |
medicineman9 introduction
Started by medicineman9 |
0 Replies
2,690 Views |
![]() by medicineman9 |
![]() |
![]() |
Hello Everybody!
Started by rbastedo |
1 Replies
2,697 Views |
![]() by ChefMasterOrange |
![]() |
![]() |
Greetings from Australia
Started by irenekrey |
1 Replies
2,699 Views |
![]() by miles |
![]() |
![]() |
New to the Paleo lifestyle
Started by Johnh |
1 Replies
2,710 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Middle Tennessee. :)
Started by xnadam |
2 Replies
2,717 Views |
![]() by xnadam |
![]() |
![]() |
2 Replies
2,722 Views |
![]() by micelte |
|
![]() |
![]() |
Mabuhay (greetings) from the Philippines!
Started by thejsap |
1 Replies
2,734 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Still here
Started by shirley |
0 Replies
2,739 Views |
![]() by shirley |
![]() |
![]() |
3 Replies
2,743 Views |
![]() by Ioanna |
|
![]() |
![]() |
Greetings!
Started by magnagei |
2 Replies
2,744 Views |
![]() by TylerDurden |
![]() |
![]() |
John the SuplementosDude
Started by SuplementosDude |
2 Replies
2,746 Views |
![]() by goodsamaritan |
![]() |
![]() |
dear fellows
Started by Witherby |
1 Replies
2,747 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,747 Views |
![]() by Bronwen |
![]() |
![]() |
1 Replies
2,770 Views |
![]() by lex_rooker |
|
![]() |
![]() |
0 Replies
2,779 Views |
![]() by Aquarion |
|
![]() |
![]() |
I'm new and intrigued
Started by Marissa |
2 Replies
2,781 Views |
![]() by TylerDurden |
![]() |
![]() |
how do I change my name and username?
Started by pioneer |
1 Replies
2,798 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hello from Aurora CO.
Started by daviddigital |
0 Replies
2,799 Views |
![]() by daviddigital |
![]() |
![]() |
0 Replies
2,806 Views |
![]() by PavlosnnaLQ |
|
![]() |
![]() |
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,809 Views |
![]() by jessica |
![]() |
![]() |
looking for inspiration and RAW friends
Started by ems |
2 Replies
2,820 Views |
![]() by ems |
![]() |
![]() |
1 Replies
2,823 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,826 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
2,839 Views |
![]() by huntress |
|
![]() |
![]() |
Greetings from Singapore
Started by Igla |
0 Replies
2,856 Views |
![]() by Igla |
![]() |
![]() |
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,860 Views |
![]() by van |
![]() |
![]() |
Hello everyone....!
Started by Ricky |
1 Replies
2,870 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
1 Replies
2,874 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
hello from Boise,ID
Started by rivervibe |
1 Replies
2,878 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll