/* * 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,531 Views |
![]() by Adora |
|
![]() |
![]() |
44 Replies
48,412 Views |
![]() by dair |
|
![]() |
![]() |
0 Replies
4,802 Views |
![]() by HelpMeToHelpEwe |
|
![]() |
![]() |
Edmonton Raw Networking
Started by Victor K |
0 Replies
4,906 Views |
![]() by Victor K |
![]() |
![]() |
0 Replies
4,079 Views |
![]() by wild_is_free |
|
![]() |
![]() |
Anyone from Norway?
Started by rawesome |
0 Replies
3,560 Views |
![]() by rawesome |
![]() |
![]() |
0 Replies
2,642 Views |
![]() by Paulibug |
|
![]() |
![]() |
Adelaide, Australia
Started by Haai |
0 Replies
3,805 Views |
![]() by Haai |
![]() |
![]() |
Hi. anyone in Oklahoma?
Started by Shana |
0 Replies
3,584 Views |
![]() by Shana |
![]() |
![]() |
For Wildman
Started by William |
0 Replies
3,448 Views |
![]() by William |
![]() |
![]() |
Any RVAFers in NorCal from Oct. 15-Nov. 28th?
Started by CitrusHigh |
0 Replies
3,405 Views |
![]() by CitrusHigh |
![]() |
![]() |
DC area primal potluck shaping up
Started by rawpaleo |
0 Replies
4,024 Views |
![]() by rawpaleo |
![]() |
![]() |
Any raw paleo ppl in Lisbon, Portugal?
Started by BakeyMan |
0 Replies
3,840 Views |
![]() by BakeyMan |
![]() |
![]() |
Miami locals
Started by LePatron7 |
0 Replies
3,521 Views |
![]() by LePatron7 |
![]() |
![]() |
twitter
Started by Wattlebird |
0 Replies
3,401 Views |
![]() by Wattlebird |
![]() |
![]() |
Moving to London
Started by MarkC |
0 Replies
3,005 Views |
![]() by MarkC |
![]() |
![]() |
Santa Fe
Started by sabertooth |
0 Replies
5,628 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
4,920 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Anyone living in France?
Started by Jion Jion |
0 Replies
11,392 Views |
![]() by Jion Jion |
![]() |
![]() |
anyone living in croatia?
Started by agarwaen |
0 Replies
2,993 Views |
![]() by agarwaen |
![]() |
![]() |
0 Replies
3,177 Views |
![]() by sabertooth |
|
![]() |
![]() |
What happened to eveheart?
Started by dariorpl |
0 Replies
2,762 Views |
![]() by dariorpl |
![]() |
![]() |
0 Replies
2,592 Views |
![]() by holyshitimgod |
|
![]() |
![]() |
Anyone from Orange County?
Started by Goose |
0 Replies
2,626 Views |
![]() by Goose |
![]() |
![]() |
Anyone near PA/NJ?
Started by smokeyquartz |
0 Replies
2,691 Views |
![]() by smokeyquartz |
![]() |
![]() |
0 Replies
2,945 Views |
![]() by Scottahalljr |
|
![]() |
![]() |
Bern Switzerland
Started by Bookworm |
0 Replies
3,024 Views |
![]() by Bookworm |
![]() |
![]() |
Sydney Australia
Started by apollo00 |
0 Replies
5,811 Views |
![]() by apollo00 |
![]() |
![]() |
Travelling to Northampton
Started by Apani |
0 Replies
3,996 Views |
![]() by Apani |
![]() |
![]() |
Looking for diesel mechanic
Started by RogueFarmer |
0 Replies
4,330 Views |
![]() by RogueFarmer |
![]() |
![]() |
Savannah, Georgia
Started by littleElefant |
0 Replies
5,134 Views |
![]() by littleElefant |
![]() |
![]() |
0 Replies
2,713 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Anyone live in the northwestern U.S.?
Started by yon yonson |
0 Replies
4,365 Views |
![]() by yon yonson |
![]() |
![]() |
0 Replies
2,660 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
0 Replies
3,589 Views |
![]() by Roselene |
|
![]() |
![]() |
0 Replies
2,932 Views |
![]() by carnivorous |
|
![]() |
![]() |
Guatemala...antigua
Started by Josh |
0 Replies
3,224 Views |
![]() by Josh |
![]() |
![]() |
Let's talk...
Started by Tymianek |
0 Replies
2,934 Views |
![]() by Tymianek |
![]() |
![]() |
0 Replies
3,069 Views |
![]() by Ioanna |
|
![]() |
![]() |
People In Eureka,CA or Santa Cruz,CA!
Started by Curator |
0 Replies
3,072 Views |
![]() by Curator |
![]() |
![]() |
RPD Hosting and Website Maintenance
Started by goodsamaritan |
0 Replies
3,267 Views |
![]() by goodsamaritan |
![]() |
![]() |
Have you seen this gir?
Started by HelpMeToHelpEwe |
1 Replies
4,783 Views |
![]() by HelpMeToHelpEwe |
![]() |
![]() |
1 Replies
3,230 Views |
![]() by jessica |
|
![]() |
![]() |
San Diego
Started by A_Tribe_Called_Paleo |
1 Replies
4,184 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Any RFDers in south jersey
Started by blackrhino |
1 Replies
3,710 Views |
![]() by blackrhino |
![]() |
![]() |
anyone in missouri?
Started by ruffiny89 |
1 Replies
3,711 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Raw Paleo Community!!
Started by GaiaYoga Gardens |
1 Replies
4,665 Views |
![]() by paper_clips43 |
![]() |
![]() |
1 Replies
4,646 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Networking in Alberta
Started by Sally |
1 Replies
4,500 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