/* * 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 27 Guests are viewing this board. | ||||
![]() |
![]() |
Hello people
Started by sandman |
3 Replies
3,610 Views |
![]() by Sameenajee1 |
![]() |
![]() |
Hello :)
Started by Healthysmile |
1 Replies
3,012 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,931 Views |
![]() by van |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,279 Views |
![]() by CitrusHigh |
![]() |
![]() |
just joined, introducing myself
Started by Nora |
19 Replies
10,402 Views |
![]() by Ioanna |
![]() |
![]() |
Hi everyone!
Started by Azyth |
10 Replies
6,279 Views |
![]() by LePatron7 |
![]() |
![]() |
3 Replies
3,503 Views |
![]() by LePatron7 |
|
![]() |
![]() |
G'day there
Started by Cobb Clan |
3 Replies
3,685 Views |
![]() by Cobb Clan |
![]() |
![]() |
Introducing myself
Started by Suzubick |
4 Replies
3,445 Views |
![]() by Adora |
![]() |
![]() |
Update on Newbie
Started by Eva_R |
0 Replies
2,661 Views |
![]() by Eva_R |
![]() |
![]() |
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,884 Views |
![]() by jessica |
![]() |
![]() |
3 Replies
4,034 Views |
![]() by Eva_R |
|
![]() |
![]() |
3 Replies
3,783 Views |
![]() by Poncho |
|
![]() |
![]() |
How wonderful!
Started by Suoaei |
6 Replies
4,525 Views |
![]() by Suoaei |
![]() |
![]() |
dear fellows
Started by Witherby |
1 Replies
2,813 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hi...
Started by longhairlover |
6 Replies
5,230 Views |
![]() by Adora |
![]() |
![]() |
57 Replies
27,891 Views |
![]() by LePatron7 |
|
![]() |
![]() |
New to raw animal foods
Started by moogs |
7 Replies
7,064 Views |
![]() by jessica |
![]() |
![]() |
Hey Hey. Putting this into full swing.
Started by revision |
8 Replies
5,730 Views |
![]() by TylerDurden |
![]() |
![]() |
Hey yo
Started by naturalbornmovers |
1 Replies
2,985 Views |
![]() by LePatron7 |
![]() |
![]() |
2 Replies
3,147 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,493 Views |
![]() by LePatron7 |
|
![]() |
![]() |
3 Replies
3,598 Views |
![]() by eveheart |
|
![]() |
![]() |
27 Replies
19,591 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Fermented Foods?
Started by paper_clips43 |
8 Replies
6,638 Views |
![]() by raw |
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
3,281 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi... I've just joined RPF
Started by laughing seed |
2 Replies
3,042 Views |
![]() by intrigued |
![]() |
![]() |
New to the Paleo lifestyle
Started by Johnh |
1 Replies
2,777 Views |
![]() by TylerDurden |
![]() |
![]() |
42 Replies
20,768 Views |
![]() by Alive |
|
![]() |
![]() |
made in germany
Started by Bio-shell Avatar |
4 Replies
4,430 Views |
![]() by Bio-shell Avatar |
![]() |
![]() |
no more haggis?
Started by cfrench |
2 Replies
4,647 Views |
![]() by intrigued |
![]() |
![]() |
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
3,584 Views |
![]() by cherimoya_kid |
![]() |
![]() |
New and with bowel/appendix problems
Started by Gordono |
14 Replies
7,683 Views |
![]() by Alive |
![]() |
![]() |
4 Replies
5,008 Views |
![]() by eoterm |
|
![]() |
![]() |
6 Replies
4,692 Views |
![]() by RomanK |
|
![]() |
![]() |
2 Replies
3,276 Views |
![]() by joej627 |
|
![]() |
![]() |
7 Replies
6,622 Views |
![]() by 24isours |
|
![]() |
![]() |
2 Replies
3,995 Views |
![]() by joej627 |
|
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,458 Views |
![]() by RawZi |
![]() |
![]() |
Adam Here. Glad to Join the Group
Started by adampaleoboy |
3 Replies
3,664 Views |
![]() by joej627 |
![]() |
![]() |
New with many questions
Started by Tin_Man |
4 Replies
3,672 Views |
![]() by joej627 |
![]() |
![]() |
12 Replies
7,428 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
2 Replies
3,096 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Hello Everyone :)
Started by jinna86 |
15 Replies
8,950 Views |
![]() by Dorothy |
![]() |
![]() |
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
4,849 Views |
![]() by Dorothy |
![]() |
![]() |
38 Replies
18,629 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
New Member Here!
Started by Fiona01 |
6 Replies
4,866 Views |
![]() by CitrusHigh |
![]() |
![]() |
New and curious
Started by dunbar |
5 Replies
4,503 Views |
![]() by cherimoya_kid |
![]() |
![]() |
2 Replies
3,265 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
19 Replies
9,162 Views |
![]() by cherimoya_kid |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll