/* * 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. | ||||
![]() |
![]() |
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
22,193 Views |
![]() by Waungata |
![]() |
![]() |
0 Replies
2,357 Views |
![]() by SuplementosDude |
|
![]() |
![]() |
0 Replies
3,447 Views |
![]() by Satnee |
|
![]() |
![]() |
0 Replies
2,665 Views |
![]() by EthicalSuppliers |
|
![]() |
![]() |
Hello from Aurora CO.
Started by daviddigital |
0 Replies
2,798 Views |
![]() by daviddigital |
![]() |
![]() |
Hello!
Started by BiologicalNaturalLaw |
0 Replies
3,324 Views |
![]() by BiologicalNaturalLaw |
![]() |
![]() |
0 Replies
2,456 Views |
![]() by raw-al |
|
![]() |
![]() |
Hello from Suffolk, UK
Started by RAW T |
0 Replies
2,990 Views |
![]() by RAW T |
![]() |
![]() |
New raw eater.
Started by Nucleus |
0 Replies
3,451 Views |
![]() by Nucleus |
![]() |
![]() |
Greetings from Singapore
Started by Igla |
0 Replies
2,855 Views |
![]() by Igla |
![]() |
![]() |
NOC Meaning
Started by navyasri |
0 Replies
3,381 Views |
![]() by navyasri |
![]() |
![]() |
uspsretail
Started by uspsretail |
0 Replies
3,620 Views |
![]() by uspsretail |
![]() |
![]() |
New here but not new to raw lifestyle
Started by Taste Sense |
0 Replies
2,625 Views |
![]() by Taste Sense |
![]() |
![]() |
Hi, I would like to introduce
Started by STZGluten Free |
0 Replies
2,503 Views |
![]() by STZGluten Free |
![]() |
![]() |
22 year old from norway
Started by centropen |
0 Replies
3,694 Views |
![]() by centropen |
![]() |
![]() |
Still here
Started by shirley |
0 Replies
2,737 Views |
![]() by shirley |
![]() |
![]() |
Paleo from Spain
Started by danipr86 |
0 Replies
3,072 Views |
![]() by danipr86 |
![]() |
![]() |
Hello all, newcomer here
Started by OnyxPoet |
0 Replies
2,432 Views |
![]() by OnyxPoet |
![]() |
![]() |
Update on Newbie
Started by Eva_R |
0 Replies
2,586 Views |
![]() by Eva_R |
![]() |
![]() |
0 Replies
2,805 Views |
![]() by PavlosnnaLQ |
|
![]() |
![]() |
Gratitude
Started by feralflannery |
0 Replies
2,489 Views |
![]() by feralflannery |
![]() |
![]() |
0 Replies
3,110 Views |
![]() by Paleorigin |
|
![]() |
![]() |
0 Replies
2,776 Views |
![]() by Aquarion |
|
![]() |
![]() |
medicineman9 introduction
Started by medicineman9 |
0 Replies
2,689 Views |
![]() by medicineman9 |
![]() |
![]() |
0 Replies
2,456 Views |
![]() by dmoffett |
|
![]() |
![]() |
0 Replies
3,291 Views |
![]() by Onlymistert |
|
![]() |
![]() |
Welcome Jamie Dolan!
Started by xylothrill |
0 Replies
4,905 Views |
![]() by xylothrill |
![]() |
![]() |
0 Replies
3,405 Views |
![]() by Welchdymn |
|
![]() |
![]() |
Hi Prairie Monkey!
Started by xylothrill |
0 Replies
4,754 Views |
![]() by xylothrill |
![]() |
![]() |
oops posted in wrong place
Started by tnlcrossfitter |
0 Replies
2,491 Views |
![]() by tnlcrossfitter |
![]() |
![]() |
New here, anyone live in Houston TX?
Started by ModeloChris |
0 Replies
3,258 Views |
![]() by ModeloChris |
![]() |
![]() |
0 Replies
6,200 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
3,088 Views |
![]() by Kingyonmedical |
|
![]() |
![]() |
Participants needed! (Link fix)
Started by ellamayes |
0 Replies
10,507 Views |
![]() by ellamayes |
![]() |
![]() |
mary austin
Started by maryaustin |
0 Replies
3,316 Views |
![]() by maryaustin |
![]() |
![]() |
business analyst
Started by royal honey |
0 Replies
3,072 Views |
![]() by royal honey |
![]() |
![]() |
Hi everyone! ^_^
Started by wild_is_free |
0 Replies
3,331 Views |
![]() by wild_is_free |
![]() |
![]() |
Hello! People from Austria here?
Started by Sol.Sa |
1 Replies
2,934 Views |
![]() by dariorpl |
![]() |
![]() |
Hi everyone! just taking a look around
Started by babetteq |
1 Replies
2,645 Views |
![]() by TylerDurden |
![]() |
![]() |
Weight Training
Started by jliska |
1 Replies
2,658 Views |
![]() by Sully |
![]() |
![]() |
The great white north
Started by aariel |
1 Replies
2,903 Views |
![]() by William |
![]() |
![]() |
1 Replies
3,679 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hi1 Carnut here for first time
Started by carnut |
1 Replies
3,494 Views |
![]() by cherimoya_kid |
![]() |
![]() |
1 Replies
2,823 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Looking foward to add data to history
Started by thehadezb |
1 Replies
3,526 Views |
![]() by TylerDurden |
![]() |
![]() |
You people make me sick!
Started by Caveman Living |
1 Replies
3,560 Views |
![]() by TylerDurden |
![]() |
![]() |
newbie query
Started by nightmare |
1 Replies
3,437 Views |
![]() by eveheart |
![]() |
![]() |
1 Replies
3,172 Views |
![]() by TylerDurden |
|
![]() |
![]() |
quick hello
Started by popeye |
1 Replies
2,649 Views |
![]() by PaleoPhil |
![]() |
![]() |
Greetings from Norway
Started by Borge |
1 Replies
3,143 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll