/* * 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 38 Guests are viewing this board. | ||||
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
4,248 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
4,257 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
New to Raw Paleo
Started by QueenC |
5 Replies
4,284 Views |
![]() by Löwenherz |
![]() |
![]() |
5 Replies
4,303 Views |
![]() by TylerDurden |
|
![]() |
![]() |
made in germany
Started by Bio-shell Avatar |
4 Replies
4,307 Views |
![]() by Bio-shell Avatar |
![]() |
![]() |
5 Replies
4,319 Views |
![]() by TylerDurden |
|
![]() |
![]() |
7 Replies
4,357 Views |
![]() by TylerDurden |
|
![]() |
![]() |
6 Replies
4,360 Views |
![]() by greywolve |
|
![]() |
![]() |
Hello, from toronto canada...
Started by pc701 |
5 Replies
4,364 Views |
![]() by phatdave |
![]() |
![]() |
Greetings from Hawaii
Started by Unreasonable_Happiness |
1 Replies
4,367 Views |
![]() by van |
![]() |
![]() |
How wonderful!
Started by Suoaei |
6 Replies
4,379 Views |
![]() by Suoaei |
![]() |
![]() |
Hello from Scotland
Started by Kittenki |
2 Replies
4,379 Views |
![]() by gomomo |
![]() |
![]() |
New to RAF diet
Started by magnetic |
5 Replies
4,381 Views |
![]() by magnetic |
![]() |
![]() |
New and curious
Started by dunbar |
5 Replies
4,394 Views |
![]() by cherimoya_kid |
![]() |
![]() |
a little about me, i guess
Started by colorles |
5 Replies
4,409 Views |
![]() by CatTreats |
![]() |
![]() |
4 Replies
4,427 Views |
![]() by Apani |
|
![]() |
![]() |
Hello everyone!
Started by GourmetConfession |
3 Replies
4,432 Views |
![]() by eveheart |
![]() |
![]() |
Jumping in Cold Turkey
Started by Beyonder |
5 Replies
4,439 Views |
![]() by TylerDurden |
![]() |
![]() |
Montreal, Canada
Started by MrDan |
1 Replies
4,444 Views |
![]() by TylerDurden |
![]() |
![]() |
Saying hello as well
Started by Dbk |
5 Replies
4,446 Views |
![]() by Dbk |
![]() |
![]() |
Las Vegas - about a month in
Started by MeatGood |
3 Replies
4,490 Views |
![]() by MeatGood |
![]() |
![]() |
Hello Hello!
Started by primalpillo |
6 Replies
4,499 Views |
![]() by PaleoPhil |
![]() |
![]() |
5 Replies
4,513 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
4 Replies
4,520 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Hiiiiiiiiii:D:D:D im new ^_^
Started by Curator |
6 Replies
4,555 Views |
![]() by Curator |
![]() |
![]() |
6 Replies
4,566 Views |
![]() by RomanK |
|
![]() |
![]() |
no more haggis?
Started by cfrench |
2 Replies
4,570 Views |
![]() by intrigued |
![]() |
![]() |
Hey everyone! 23yo from Germany
Started by Mucklor |
2 Replies
4,580 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hello everyone
Started by Steve2403 |
8 Replies
4,596 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from the Netherlands!
Started by MarkR |
4 Replies
4,602 Views |
![]() by GustafStahl |
![]() |
![]() |
Greetings everyone!
Started by Paganwar56 |
3 Replies
4,612 Views |
![]() by Bradley David Good |
![]() |
![]() |
MXV introduction
Started by MXV |
6 Replies
4,622 Views |
![]() by MXV |
![]() |
![]() |
how can I change my user name?
Started by JaX |
2 Replies
4,625 Views |
![]() by xylothrill |
![]() |
![]() |
Help needed for RPD-wannabe from Singapore!
Started by keith |
2 Replies
4,626 Views |
![]() by Igla |
![]() |
![]() |
New Family in Town
Started by Haida |
5 Replies
4,634 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hello Everyone
Started by veronica5000 |
5 Replies
4,635 Views |
![]() by Domitilla |
![]() |
![]() |
8 Replies
4,639 Views |
![]() by Paleo93 |
|
![]() |
![]() |
Blue By Youuuu
Started by sweetiepitootie |
5 Replies
4,639 Views |
![]() by sweetiepitootie |
![]() |
![]() |
Back again. Time to commit.
Started by Primalkellypei |
6 Replies
4,646 Views |
![]() by TylerDurden |
![]() |
![]() |
6 Replies
4,662 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Sources of Vitamin A, C, E, and Folate
Started by Techydude |
3 Replies
4,666 Views |
![]() by Blueknight |
![]() |
![]() |
5 Replies
4,675 Views |
![]() by nummytummy |
|
![]() |
![]() |
First steps in Raw paleo world
Started by Boris |
6 Replies
4,686 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi Everyone
Started by velvet jones |
5 Replies
4,693 Views |
![]() by Satya |
![]() |
![]() |
Hello and long live the king
Started by bacchus |
5 Replies
4,712 Views |
![]() by bacchus |
![]() |
![]() |
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
4,724 Views |
![]() by Dorothy |
![]() |
![]() |
New Member Here!
Started by Fiona01 |
6 Replies
4,729 Views |
![]() by CitrusHigh |
![]() |
![]() |
New to community, Have some questions
Started by consoomer |
3 Replies
4,744 Views |
![]() by MarkR |
![]() |
![]() |
Hi Prairie Monkey!
Started by xylothrill |
0 Replies
4,754 Views |
![]() by xylothrill |
![]() |
![]() |
14 year old - Eating problem
Started by Gadsie |
3 Replies
4,806 Views |
![]() by Funky Raw Rob |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll