/* * 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 9 Guests are viewing this board. | ||||
![]() |
![]() |
San Diego
Started by A_Tribe_Called_Paleo |
1 Replies
4,187 Views |
![]() by cherimoya_kid |
![]() |
![]() |
2 Replies
4,199 Views |
![]() by Stig of the Dump |
|
![]() |
![]() |
Spain / Latin America Raw Meat Eaters
Started by Visigot |
1 Replies
4,211 Views |
![]() by thehadezb |
![]() |
![]() |
What happened to Inger?
Started by dariorpl |
4 Replies
4,262 Views |
![]() by dariorpl |
![]() |
![]() |
Any Kansas Raw Paleo Dieters??
Started by Vraellie |
3 Replies
4,272 Views |
![]() by laece |
![]() |
![]() |
Recipe for Living Without Disease
Started by yon yonson |
2 Replies
4,283 Views |
![]() by yon yonson |
![]() |
![]() |
Newfoundland?
Started by Neone |
2 Replies
4,301 Views |
![]() by Neone |
![]() |
![]() |
Ohioan here.
Started by Midnight |
3 Replies
4,304 Views |
![]() by shannon |
![]() |
![]() |
Looking for diesel mechanic
Started by RogueFarmer |
0 Replies
4,332 Views |
![]() by RogueFarmer |
![]() |
![]() |
Anyone live in the northwestern U.S.?
Started by yon yonson |
0 Replies
4,369 Views |
![]() by yon yonson |
![]() |
![]() |
3 Replies
4,421 Views |
![]() by CatTreats |
|
![]() |
![]() |
3 Replies
4,450 Views |
![]() by Ungullible |
|
![]() |
![]() |
Northern Nevada/Northern California
Started by zeno |
4 Replies
4,456 Views |
![]() by pantherx |
![]() |
![]() |
new to RPD in Montreal
Started by kaly |
2 Replies
4,456 Views |
![]() by Sorentus |
![]() |
![]() |
Networking in Alberta
Started by Sally |
1 Replies
4,506 Views |
![]() by ayesha |
![]() |
![]() |
1 Replies
4,653 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Raw Paleo Community!!
Started by GaiaYoga Gardens |
1 Replies
4,669 Views |
![]() by paper_clips43 |
![]() |
![]() |
Finding/Contacting ''roony''
Started by political atheist |
2 Replies
4,680 Views |
![]() by political atheist |
![]() |
![]() |
Have you seen this gir?
Started by HelpMeToHelpEwe |
1 Replies
4,786 Views |
![]() by HelpMeToHelpEwe |
![]() |
![]() |
0 Replies
4,805 Views |
![]() by HelpMeToHelpEwe |
|
![]() |
![]() |
3 Replies
4,831 Views |
![]() by dogman333 |
|
![]() |
![]() |
Edmonton Raw Networking
Started by Victor K |
0 Replies
4,910 Views |
![]() by Victor K |
![]() |
![]() |
0 Replies
4,926 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Raw Paleo in Budapest
Started by Dingeman |
1 Replies
4,954 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
4,985 Views |
![]() by DangerousDashie |
|
![]() |
![]() |
Beating head into wall
Started by RogueFarmer |
4 Replies
5,054 Views |
![]() by svrn |
![]() |
![]() |
Raw paleo diet in Germany
Started by p0wer |
4 Replies
5,069 Views |
![]() by p0wer |
![]() |
![]() |
Savannah, Georgia
Started by littleElefant |
0 Replies
5,139 Views |
![]() by littleElefant |
![]() |
![]() |
Bay area, California!!
Started by Robinlove |
1 Replies
5,156 Views |
![]() by a_real_man |
![]() |
![]() |
Visiting Siena, Italy
Started by Suoaei |
2 Replies
5,203 Views |
![]() by 016hnoor |
![]() |
![]() |
Grass fed CSA
Started by RogueFarmer |
3 Replies
5,220 Views |
![]() by RogueFarmer |
![]() |
![]() |
Vacations in South-West France?
Started by Iguana |
5 Replies
5,245 Views |
![]() by Iguana |
![]() |
![]() |
1 Replies
5,280 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Santa Fe
Started by sabertooth |
0 Replies
5,634 Views |
![]() by sabertooth |
![]() |
![]() |
Hello from Florida
Started by Raw in Florida |
5 Replies
5,778 Views |
![]() by TylerDurden |
![]() |
![]() |
Sydney Australia
Started by apollo00 |
0 Replies
5,814 Views |
![]() by apollo00 |
![]() |
![]() |
San Diego
Started by a_real_man |
4 Replies
6,008 Views |
![]() by surfsteve |
![]() |
![]() |
Northern California
Started by CatTreats |
2 Replies
6,029 Views |
![]() by Robinlove |
![]() |
![]() |
5 Replies
6,056 Views |
![]() by RawZi |
|
![]() |
![]() |
3 Replies
6,092 Views |
![]() by tolka |
|
![]() |
![]() |
Indiana seeker
Started by Ladyjustice |
3 Replies
6,400 Views |
![]() by kurite |
![]() |
![]() |
place to stay 5 boros 3 day-3wk ur choice
Started by RawZi |
5 Replies
6,432 Views |
![]() by LePatron7 |
![]() |
![]() |
New in Elk City
Started by Roxann |
9 Replies
6,466 Views |
![]() by TylerDurden |
![]() |
![]() |
Whitehorse, Canada: Anyone?
Started by Kane |
7 Replies
6,631 Views |
![]() by personman |
![]() |
![]() |
Instincto vacation at Iguana's
Started by JeuneKoq |
4 Replies
7,130 Views |
![]() by Iguana |
![]() |
![]() |
6 Replies
7,161 Views |
![]() by kalo |
|
![]() |
![]() |
Vancouver, BC, Canada
Started by Predator |
2 Replies
7,190 Views |
![]() by gwurz14 |
![]() |
![]() |
4 Replies
7,205 Views |
![]() by gwurz14 |
|
![]() |
![]() |
Looking for an intern for 2012 season
Started by RogueFarmer |
5 Replies
7,208 Views |
![]() by Pakistan |
![]() |
![]() |
6 Replies
7,415 Views |
![]() by DeanNewman |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll