/* * 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 ![]() |
Last post | ||
---|---|---|---|---|
0 Members and 8 Guests are viewing this board. | ||||
![]() |
![]() |
29 Replies
36,583 Views |
![]() by Adora |
|
![]() |
![]() |
44 Replies
48,439 Views |
![]() by dair |
|
![]() |
![]() |
0 Replies
4,805 Views |
![]() by HelpMeToHelpEwe |
|
![]() |
![]() |
Edmonton Raw Networking
Started by Victor K |
0 Replies
4,910 Views |
![]() by Victor K |
![]() |
![]() |
0 Replies
4,081 Views |
![]() by wild_is_free |
|
![]() |
![]() |
Anyone from Norway?
Started by rawesome |
0 Replies
3,567 Views |
![]() by rawesome |
![]() |
![]() |
0 Replies
2,646 Views |
![]() by Paulibug |
|
![]() |
![]() |
Adelaide, Australia
Started by Haai |
0 Replies
3,807 Views |
![]() by Haai |
![]() |
![]() |
Hi. anyone in Oklahoma?
Started by Shana |
0 Replies
3,593 Views |
![]() by Shana |
![]() |
![]() |
For Wildman
Started by William |
0 Replies
3,451 Views |
![]() by William |
![]() |
![]() |
Any RVAFers in NorCal from Oct. 15-Nov. 28th?
Started by CitrusHigh |
0 Replies
3,407 Views |
![]() by CitrusHigh |
![]() |
![]() |
DC area primal potluck shaping up
Started by rawpaleo |
0 Replies
4,027 Views |
![]() by rawpaleo |
![]() |
![]() |
Any raw paleo ppl in Lisbon, Portugal?
Started by BakeyMan |
0 Replies
3,845 Views |
![]() by BakeyMan |
![]() |
![]() |
Miami locals
Started by LePatron7 |
0 Replies
3,524 Views |
![]() by LePatron7 |
![]() |
![]() |
twitter
Started by Wattlebird |
0 Replies
3,403 Views |
![]() by Wattlebird |
![]() |
![]() |
Moving to London
Started by MarkC |
0 Replies
3,007 Views |
![]() by MarkC |
![]() |
![]() |
Santa Fe
Started by sabertooth |
0 Replies
5,634 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
4,925 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Anyone living in France?
Started by Jion Jion |
0 Replies
11,451 Views |
![]() by Jion Jion |
![]() |
![]() |
anyone living in croatia?
Started by agarwaen |
0 Replies
3,000 Views |
![]() by agarwaen |
![]() |
![]() |
0 Replies
3,180 Views |
![]() by sabertooth |
|
![]() |
![]() |
What happened to eveheart?
Started by dariorpl |
0 Replies
2,768 Views |
![]() by dariorpl |
![]() |
![]() |
0 Replies
2,594 Views |
![]() by holyshitimgod |
|
![]() |
![]() |
Anyone from Orange County?
Started by Goose |
0 Replies
2,631 Views |
![]() by Goose |
![]() |
![]() |
Anyone near PA/NJ?
Started by smokeyquartz |
0 Replies
2,694 Views |
![]() by smokeyquartz |
![]() |
![]() |
0 Replies
2,947 Views |
![]() by Scottahalljr |
|
![]() |
![]() |
Bern Switzerland
Started by Bookworm |
0 Replies
3,027 Views |
![]() by Bookworm |
![]() |
![]() |
Sydney Australia
Started by apollo00 |
0 Replies
5,814 Views |
![]() by apollo00 |
![]() |
![]() |
Travelling to Northampton
Started by Apani |
0 Replies
3,998 Views |
![]() by Apani |
![]() |
![]() |
Looking for diesel mechanic
Started by RogueFarmer |
0 Replies
4,331 Views |
![]() by RogueFarmer |
![]() |
![]() |
Savannah, Georgia
Started by littleElefant |
0 Replies
5,138 Views |
![]() by littleElefant |
![]() |
![]() |
0 Replies
2,718 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Anyone live in the northwestern U.S.?
Started by yon yonson |
0 Replies
4,369 Views |
![]() by yon yonson |
![]() |
![]() |
0 Replies
2,665 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
0 Replies
3,591 Views |
![]() by Roselene |
|
![]() |
![]() |
0 Replies
2,934 Views |
![]() by carnivorous |
|
![]() |
![]() |
Guatemala...antigua
Started by Josh |
0 Replies
3,229 Views |
![]() by Josh |
![]() |
![]() |
Let's talk...
Started by Tymianek |
0 Replies
2,935 Views |
![]() by Tymianek |
![]() |
![]() |
0 Replies
3,071 Views |
![]() by Ioanna |
|
![]() |
![]() |
People In Eureka,CA or Santa Cruz,CA!
Started by Curator |
0 Replies
3,074 Views |
![]() by Curator |
![]() |
![]() |
RPD Hosting and Website Maintenance
Started by goodsamaritan |
0 Replies
3,271 Views |
![]() by goodsamaritan |
![]() |
![]() |
Have you seen this gir?
Started by HelpMeToHelpEwe |
1 Replies
4,786 Views |
![]() by HelpMeToHelpEwe |
![]() |
![]() |
1 Replies
3,235 Views |
![]() by jessica |
|
![]() |
![]() |
San Diego
Started by A_Tribe_Called_Paleo |
1 Replies
4,187 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Any RFDers in south jersey
Started by blackrhino |
1 Replies
3,714 Views |
![]() by blackrhino |
![]() |
![]() |
anyone in missouri?
Started by ruffiny89 |
1 Replies
3,712 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Raw Paleo Community!!
Started by GaiaYoga Gardens |
1 Replies
4,669 Views |
![]() by paper_clips43 |
![]() |
![]() |
1 Replies
4,653 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Networking in Alberta
Started by Sally |
1 Replies
4,506 Views |
![]() by ayesha |
![]() |
![]() |
Culture Starters
Started by miles |
1 Replies
3,549 Views |
![]() by Isthmus |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll