/* * 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 26 Guests are viewing this board. | ||||
![]() |
![]() |
Hello :)
Started by Healthysmile |
1 Replies
2,837 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,748 Views |
![]() by van |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,075 Views |
![]() by CitrusHigh |
![]() |
![]() |
just joined, introducing myself
Started by Nora |
19 Replies
9,700 Views |
![]() by Ioanna |
![]() |
![]() |
Hi everyone!
Started by Azyth |
10 Replies
5,666 Views |
![]() by LePatron7 |
![]() |
![]() |
3 Replies
3,218 Views |
![]() by LePatron7 |
|
![]() |
![]() |
G'day there
Started by Cobb Clan |
3 Replies
3,428 Views |
![]() by Cobb Clan |
![]() |
![]() |
Introducing myself
Started by Suzubick |
4 Replies
3,137 Views |
![]() by Adora |
![]() |
![]() |
Update on Newbie
Started by Eva_R |
0 Replies
2,471 Views |
![]() by Eva_R |
![]() |
![]() |
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,698 Views |
![]() by jessica |
![]() |
![]() |
3 Replies
3,740 Views |
![]() by Eva_R |
|
![]() |
![]() |
3 Replies
3,568 Views |
![]() by Poncho |
|
![]() |
![]() |
How wonderful!
Started by Suoaei |
6 Replies
4,159 Views |
![]() by Suoaei |
![]() |
![]() |
dear fellows
Started by Witherby |
1 Replies
2,600 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hi...
Started by longhairlover |
6 Replies
4,488 Views |
![]() by Adora |
![]() |
![]() |
57 Replies
24,518 Views |
![]() by LePatron7 |
|
![]() |
![]() |
New to raw animal foods
Started by moogs |
7 Replies
5,988 Views |
![]() by jessica |
![]() |
![]() |
Hey Hey. Putting this into full swing.
Started by revision |
8 Replies
5,056 Views |
![]() by TylerDurden |
![]() |
![]() |
Hey yo
Started by naturalbornmovers |
1 Replies
2,734 Views |
![]() by LePatron7 |
![]() |
![]() |
2 Replies
2,928 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,236 Views |
![]() by LePatron7 |
|
![]() |
![]() |
3 Replies
3,301 Views |
![]() by eveheart |
|
![]() |
![]() |
27 Replies
18,201 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Fermented Foods?
Started by paper_clips43 |
8 Replies
6,295 Views |
![]() by raw |
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
3,093 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi... I've just joined RPF
Started by laughing seed |
2 Replies
2,871 Views |
![]() by intrigued |
![]() |
![]() |
New to the Paleo lifestyle
Started by Johnh |
1 Replies
2,539 Views |
![]() by TylerDurden |
![]() |
![]() |
42 Replies
18,474 Views |
![]() by Alive |
|
![]() |
![]() |
made in germany
Started by Bio-shell Avatar |
4 Replies
3,996 Views |
![]() by Bio-shell Avatar |
![]() |
![]() |
no more haggis?
Started by cfrench |
2 Replies
4,382 Views |
![]() by intrigued |
![]() |
![]() |
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
3,313 Views |
![]() by cherimoya_kid |
![]() |
![]() |
New and with bowel/appendix problems
Started by Gordono |
14 Replies
7,211 Views |
![]() by Alive |
![]() |
![]() |
4 Replies
4,686 Views |
![]() by eoterm |
|
![]() |
![]() |
6 Replies
4,320 Views |
![]() by RomanK |
|
![]() |
![]() |
2 Replies
2,997 Views |
![]() by joej627 |
|
![]() |
![]() |
7 Replies
5,962 Views |
![]() by 24isours |
|
![]() |
![]() |
2 Replies
3,671 Views |
![]() by joej627 |
|
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,254 Views |
![]() by RawZi |
![]() |
![]() |
Adam Here. Glad to Join the Group
Started by adampaleoboy |
3 Replies
3,375 Views |
![]() by joej627 |
![]() |
![]() |
New with many questions
Started by Tin_Man |
4 Replies
3,339 Views |
![]() by joej627 |
![]() |
![]() |
12 Replies
6,081 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
2 Replies
2,857 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Hello Everyone :)
Started by jinna86 |
15 Replies
8,058 Views |
![]() by Dorothy |
![]() |
![]() |
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
3,650 Views |
![]() by Dorothy |
![]() |
![]() |
38 Replies
16,274 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
New Member Here!
Started by Fiona01 |
6 Replies
4,513 Views |
![]() by CitrusHigh |
![]() |
![]() |
New and curious
Started by dunbar |
5 Replies
4,178 Views |
![]() by cherimoya_kid |
![]() |
![]() |
2 Replies
3,025 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
19 Replies
8,747 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
2 Replies
2,874 Views |
![]() by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll