/* * 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 16 Guests are viewing this board. | ||||
![]() |
![]() |
Hello :)
Started by Healthysmile |
1 Replies
2,785 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,686 Views |
![]() by van |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,018 Views |
![]() by CitrusHigh |
![]() |
![]() |
just joined, introducing myself
Started by Nora |
19 Replies
9,470 Views |
![]() by Ioanna |
![]() |
![]() |
Hi everyone!
Started by Azyth |
10 Replies
5,456 Views |
![]() by LePatron7 |
![]() |
![]() |
3 Replies
3,136 Views |
![]() by LePatron7 |
|
![]() |
![]() |
G'day there
Started by Cobb Clan |
3 Replies
3,356 Views |
![]() by Cobb Clan |
![]() |
![]() |
Introducing myself
Started by Suzubick |
4 Replies
3,070 Views |
![]() by Adora |
![]() |
![]() |
Update on Newbie
Started by Eva_R |
0 Replies
2,420 Views |
![]() by Eva_R |
![]() |
![]() |
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,635 Views |
![]() by jessica |
![]() |
![]() |
3 Replies
3,659 Views |
![]() by Eva_R |
|
![]() |
![]() |
3 Replies
3,510 Views |
![]() by Poncho |
|
![]() |
![]() |
How wonderful!
Started by Suoaei |
6 Replies
4,058 Views |
![]() by Suoaei |
![]() |
![]() |
dear fellows
Started by Witherby |
1 Replies
2,549 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hi...
Started by longhairlover |
6 Replies
4,398 Views |
![]() by Adora |
![]() |
![]() |
57 Replies
23,839 Views |
![]() by LePatron7 |
|
![]() |
![]() |
New to raw animal foods
Started by moogs |
7 Replies
5,876 Views |
![]() by jessica |
![]() |
![]() |
Hey Hey. Putting this into full swing.
Started by revision |
8 Replies
4,945 Views |
![]() by TylerDurden |
![]() |
![]() |
Hey yo
Started by naturalbornmovers |
1 Replies
2,688 Views |
![]() by LePatron7 |
![]() |
![]() |
2 Replies
2,874 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,156 Views |
![]() by LePatron7 |
|
![]() |
![]() |
3 Replies
3,223 Views |
![]() by eveheart |
|
![]() |
![]() |
27 Replies
17,775 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Fermented Foods?
Started by paper_clips43 |
8 Replies
6,208 Views |
![]() by raw |
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
3,042 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi... I've just joined RPF
Started by laughing seed |
2 Replies
2,818 Views |
![]() by intrigued |
![]() |
![]() |
New to the Paleo lifestyle
Started by Johnh |
1 Replies
2,482 Views |
![]() by TylerDurden |
![]() |
![]() |
42 Replies
17,835 Views |
![]() by Alive |
|
![]() |
![]() |
made in germany
Started by Bio-shell Avatar |
4 Replies
3,905 Views |
![]() by Bio-shell Avatar |
![]() |
![]() |
no more haggis?
Started by cfrench |
2 Replies
4,330 Views |
![]() by intrigued |
![]() |
![]() |
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
3,264 Views |
![]() by cherimoya_kid |
![]() |
![]() |
New and with bowel/appendix problems
Started by Gordono |
14 Replies
7,098 Views |
![]() by Alive |
![]() |
![]() |
4 Replies
4,614 Views |
![]() by eoterm |
|
![]() |
![]() |
6 Replies
4,263 Views |
![]() by RomanK |
|
![]() |
![]() |
2 Replies
2,950 Views |
![]() by joej627 |
|
![]() |
![]() |
7 Replies
5,772 Views |
![]() by 24isours |
|
![]() |
![]() |
2 Replies
3,599 Views |
![]() by joej627 |
|
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,199 Views |
![]() by RawZi |
![]() |
![]() |
Adam Here. Glad to Join the Group
Started by adampaleoboy |
3 Replies
3,306 Views |
![]() by joej627 |
![]() |
![]() |
New with many questions
Started by Tin_Man |
4 Replies
3,289 Views |
![]() by joej627 |
![]() |
![]() |
12 Replies
6,010 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
2 Replies
2,803 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Hello Everyone :)
Started by jinna86 |
15 Replies
7,936 Views |
![]() by Dorothy |
![]() |
![]() |
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
3,594 Views |
![]() by Dorothy |
![]() |
![]() |
38 Replies
15,934 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
New Member Here!
Started by Fiona01 |
6 Replies
4,440 Views |
![]() by CitrusHigh |
![]() |
![]() |
New and curious
Started by dunbar |
5 Replies
4,097 Views |
![]() by cherimoya_kid |
![]() |
![]() |
2 Replies
2,978 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
19 Replies
8,612 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
2 Replies
2,812 Views |
![]() by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll