/* * 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 24 Guests are viewing this board. | ||||
![]() |
![]() |
0 Replies
13,469 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
RAW MILK and food combining
Started by A_Tribe_Called_Paleo |
0 Replies
2,777 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
0 Replies
3,604 Views |
![]() by LunarFey |
|
![]() |
![]() |
Sprouted Grains
Started by A_Tribe_Called_Paleo |
0 Replies
3,431 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
0 Replies
4,034 Views |
![]() by xEdgexRNx |
|
![]() |
![]() |
Onion greens?
Started by Fenrir |
0 Replies
3,902 Views |
![]() by Fenrir |
![]() |
![]() |
Macronutrient ratio
Started by birdy |
0 Replies
3,700 Views |
![]() by birdy |
![]() |
![]() |
weight ratios of protein to fat?
Started by dsohei |
0 Replies
3,262 Views |
![]() by dsohei |
![]() |
![]() |
Raw Vegetarian Paleo
Started by Gloominary |
0 Replies
3,551 Views |
![]() by Gloominary |
![]() |
![]() |
MOVED: Dang, what a great forum!
Started by TylerDurden |
0 Replies
3,894 Views |
![]() by TylerDurden |
![]() |
![]() |
Raw Omni keto
Started by Robinlove |
0 Replies
3,155 Views |
![]() by Robinlove |
![]() |
![]() |
0 Replies
5,078 Views |
![]() by igibike |
|
![]() |
![]() |
0 Replies
3,539 Views |
![]() by jmonkey |
|
![]() |
![]() |
What causes hair loss
Started by IonSurfer |
0 Replies
3,412 Views |
![]() by IonSurfer |
![]() |
![]() |
MOVED: Garbage and abuse
Started by Iguana |
0 Replies
2,833 Views |
![]() by Iguana |
![]() |
![]() |
1 Replies
8,454 Views |
![]() by RawZi |
|
![]() |
![]() |
Sugar snap peas?
Started by kurite |
1 Replies
6,366 Views |
![]() by TylerDurden |
![]() |
![]() |
Meat open to the air
Started by Bradley David Good |
1 Replies
4,407 Views |
![]() by a_real_man |
![]() |
![]() |
Seasonal Foods
Started by zeno |
1 Replies
3,120 Views |
![]() by Thekla |
![]() |
![]() |
Black pepper!
Started by IonSurfer |
1 Replies
4,373 Views |
![]() by norawnofun |
![]() |
![]() |
Paleo/Primal Beef Jerky
Started by AJC |
1 Replies
5,606 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Raw Lotus Seeds?
Started by goodsamaritan |
1 Replies
4,144 Views |
![]() by KatieH |
![]() |
![]() |
Now is the right time of the year for ...
Started by dair |
1 Replies
4,336 Views |
![]() by dair |
![]() |
![]() |
Thoughts on organic duck and turkey?
Started by PaganGoy |
1 Replies
4,215 Views |
![]() by sabertooth |
![]() |
![]() |
Coconut Worms anyone?
Started by goodsamaritan |
1 Replies
4,603 Views |
![]() by PaganGoy |
![]() |
![]() |
Info on Raw Paleo
Started by raw-al |
1 Replies
3,517 Views |
![]() by William |
![]() |
![]() |
1 Replies
3,131 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
5,367 Views |
![]() by Techydude |
|
![]() |
![]() |
1 Replies
3,696 Views |
![]() by barrackobama |
|
![]() |
![]() |
1 Replies
6,689 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Gelatin?
Started by King Salmon |
1 Replies
4,497 Views |
![]() by TylerDurden |
![]() |
![]() |
used to be "anti-nut"...
Started by dair |
1 Replies
4,334 Views |
![]() by dariorpl |
![]() |
![]() |
bees fed on sugar?
Started by dair |
1 Replies
4,018 Views |
![]() by dariorpl |
![]() |
![]() |
1 Replies
5,598 Views |
![]() by tding |
|
![]() |
![]() |
Omnivorous v. Carnivore
Started by smokeyquartz |
1 Replies
4,058 Views |
![]() by dariorpl |
![]() |
![]() |
1 Replies
6,410 Views |
![]() by Josh |
|
![]() |
![]() |
Sourcing quality foods in Miami, FL
Started by LePatron7 |
1 Replies
3,026 Views |
![]() by LePatron7 |
![]() |
![]() |
Ginseng Discussions
Started by goodsamaritan |
1 Replies
4,045 Views |
![]() by goodsamaritan |
![]() |
![]() |
Complex carbs...carb crashes
Started by Josh |
1 Replies
5,248 Views |
![]() by carnivore |
![]() |
![]() |
Camping Raw
Started by smokeyquartz |
1 Replies
3,993 Views |
![]() by gomomo |
![]() |
![]() |
Small fruit more "natural"?
Started by dair |
1 Replies
4,799 Views |
![]() by thehadezb |
![]() |
![]() |
What works for me
Started by IonSurfer |
1 Replies
3,737 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
4,008 Views |
![]() by eveheart |
|
![]() |
![]() |
RPD alcohol - recipes?
Started by a_real_man |
1 Replies
4,413 Views |
![]() by TylerDurden |
![]() |
![]() |
flu-like symptoms
Started by ug |
2 Replies
5,387 Views |
![]() by kurite |
![]() |
![]() |
2 Replies
4,327 Views |
![]() by A_Tribe_Called_Paleo |
|
![]() |
![]() |
My notions on the wonder diet
Started by ug |
2 Replies
5,840 Views |
![]() by RawZi |
![]() |
![]() |
2 Replies
4,786 Views |
![]() by ys |
|
![]() |
![]() |
2 Replies
4,125 Views |
![]() by JeuneKoq |
|
![]() |
![]() |
2 Replies
4,000 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll