/* * 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 66 Guests are viewing this board. | ||||
![]() |
![]() |
Hello people
Started by sandman |
3 Replies
3,674 Views |
![]() by Sameenajee1 |
![]() |
![]() |
Hello :)
Started by Healthysmile |
1 Replies
3,064 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,967 Views |
![]() by van |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,323 Views |
![]() by CitrusHigh |
![]() |
![]() |
just joined, introducing myself
Started by Nora |
19 Replies
10,458 Views |
![]() by Ioanna |
![]() |
![]() |
Hi everyone!
Started by Azyth |
10 Replies
6,400 Views |
![]() by LePatron7 |
![]() |
![]() |
3 Replies
3,565 Views |
![]() by LePatron7 |
|
![]() |
![]() |
G'day there
Started by Cobb Clan |
3 Replies
3,726 Views |
![]() by Cobb Clan |
![]() |
![]() |
Introducing myself
Started by Suzubick |
4 Replies
3,477 Views |
![]() by Adora |
![]() |
![]() |
Update on Newbie
Started by Eva_R |
0 Replies
2,695 Views |
![]() by Eva_R |
![]() |
![]() |
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,914 Views |
![]() by jessica |
![]() |
![]() |
3 Replies
4,078 Views |
![]() by Eva_R |
|
![]() |
![]() |
3 Replies
3,810 Views |
![]() by Poncho |
|
![]() |
![]() |
How wonderful!
Started by Suoaei |
6 Replies
4,561 Views |
![]() by Suoaei |
![]() |
![]() |
dear fellows
Started by Witherby |
1 Replies
2,836 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hi...
Started by longhairlover |
6 Replies
5,259 Views |
![]() by Adora |
![]() |
![]() |
57 Replies
28,094 Views |
![]() by LePatron7 |
|
![]() |
![]() |
New to raw animal foods
Started by moogs |
7 Replies
7,099 Views |
![]() by jessica |
![]() |
![]() |
Hey Hey. Putting this into full swing.
Started by revision |
8 Replies
5,799 Views |
![]() by TylerDurden |
![]() |
![]() |
Hey yo
Started by naturalbornmovers |
1 Replies
3,030 Views |
![]() by LePatron7 |
![]() |
![]() |
2 Replies
3,178 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,526 Views |
![]() by LePatron7 |
|
![]() |
![]() |
3 Replies
3,657 Views |
![]() by eveheart |
|
![]() |
![]() |
27 Replies
19,736 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Fermented Foods?
Started by paper_clips43 |
8 Replies
6,742 Views |
![]() by raw |
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
3,332 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi... I've just joined RPF
Started by laughing seed |
2 Replies
3,078 Views |
![]() by intrigued |
![]() |
![]() |
New to the Paleo lifestyle
Started by Johnh |
1 Replies
2,809 Views |
![]() by TylerDurden |
![]() |
![]() |
42 Replies
20,902 Views |
![]() by Alive |
|
![]() |
![]() |
made in germany
Started by Bio-shell Avatar |
4 Replies
4,480 Views |
![]() by Bio-shell Avatar |
![]() |
![]() |
no more haggis?
Started by cfrench |
2 Replies
4,687 Views |
![]() by intrigued |
![]() |
![]() |
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
3,630 Views |
![]() by cherimoya_kid |
![]() |
![]() |
New and with bowel/appendix problems
Started by Gordono |
14 Replies
7,727 Views |
![]() by Alive |
![]() |
![]() |
4 Replies
5,045 Views |
![]() by eoterm |
|
![]() |
![]() |
6 Replies
4,731 Views |
![]() by RomanK |
|
![]() |
![]() |
2 Replies
3,301 Views |
![]() by joej627 |
|
![]() |
![]() |
7 Replies
6,690 Views |
![]() by 24isours |
|
![]() |
![]() |
2 Replies
4,025 Views |
![]() by joej627 |
|
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,481 Views |
![]() by RawZi |
![]() |
![]() |
Adam Here. Glad to Join the Group
Started by adampaleoboy |
3 Replies
3,698 Views |
![]() by joej627 |
![]() |
![]() |
New with many questions
Started by Tin_Man |
4 Replies
3,698 Views |
![]() by joej627 |
![]() |
![]() |
12 Replies
7,454 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
2 Replies
3,120 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Hello Everyone :)
Started by jinna86 |
15 Replies
9,018 Views |
![]() by Dorothy |
![]() |
![]() |
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
4,892 Views |
![]() by Dorothy |
![]() |
![]() |
38 Replies
18,732 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
New Member Here!
Started by Fiona01 |
6 Replies
4,956 Views |
![]() by CitrusHigh |
![]() |
![]() |
New and curious
Started by dunbar |
5 Replies
4,607 Views |
![]() by cherimoya_kid |
![]() |
![]() |
2 Replies
3,333 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
19 Replies
9,291 Views |
![]() by cherimoya_kid |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll