/* * 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 32 Guests are viewing this board. | ||||
![]() |
![]() |
Re: Eat pemmican and get atherosclerosis!
Started by William |
1 Replies
2,398 Views |
![]() by RawZi |
![]() |
![]() |
Micky Dees 0 - Australia 1
Started by raw-al |
0 Replies
2,417 Views |
![]() by raw-al |
![]() |
![]() |
The death-knell of food
Started by TylerDurden |
0 Replies
2,419 Views |
![]() by TylerDurden |
![]() |
![]() |
RISUG male contraceptive procedure, thoughts?
Started by CitrusHigh |
2 Replies
2,426 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
2,428 Views |
![]() by Dorothy |
|
![]() |
![]() |
0 Replies
2,436 Views |
![]() by raw-al |
|
![]() |
![]() |
0 Replies
2,439 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,445 Views |
![]() by Aura |
|
![]() |
![]() |
0 Replies
2,447 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,449 Views |
![]() by Paleo Donk |
|
![]() |
![]() |
1 Replies
2,452 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,459 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Antibiotics in food
Started by TylerDurden |
1 Replies
2,459 Views |
![]() by raw-al |
![]() |
![]() |
Sushi
Started by TylerDurden |
0 Replies
2,464 Views |
![]() by TylerDurden |
![]() |
![]() |
Somebody's propaganding again
Started by raw-al |
0 Replies
2,465 Views |
![]() by raw-al |
![]() |
![]() |
David vs Goliath (Monsanto)
Started by raw-al |
2 Replies
2,468 Views |
![]() by raw-al |
![]() |
![]() |
Just an interesting article
Started by kurite |
1 Replies
2,474 Views |
![]() by goodsamaritan |
![]() |
![]() |
Slanker's grass fed pork
Started by Löwenherz |
0 Replies
2,474 Views |
![]() by Löwenherz |
![]() |
![]() |
0 Replies
2,483 Views |
![]() by Ungullible |
|
![]() |
![]() |
1 Replies
2,486 Views |
![]() by dariorpl |
|
![]() |
![]() |
0 Replies
2,492 Views |
![]() by TylerDurden |
|
![]() |
![]() |
MOVED: young dude
Started by goodsamaritan |
0 Replies
2,493 Views |
![]() by goodsamaritan |
![]() |
![]() |
Roman Diet
Started by TylerDurden |
0 Replies
2,495 Views |
![]() by TylerDurden |
![]() |
![]() |
Vegan converts to rawpalaeo
Started by TylerDurden |
1 Replies
2,499 Views |
![]() by TylerDurden |
![]() |
![]() |
Grains/Beans Healthy?
Started by joej627 |
2 Replies
2,500 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,506 Views |
![]() by cobalamin |
|
![]() |
![]() |
1 Replies
2,511 Views |
![]() by William |
|
![]() |
![]() |
1 Replies
2,513 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
0 Replies
2,527 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Nanoparticles
Started by raw-al |
0 Replies
2,528 Views |
![]() by raw-al |
![]() |
![]() |
Utopic Water
Started by Coatue |
1 Replies
2,532 Views |
![]() by SkinnyDevil |
![]() |
![]() |
1 Replies
2,538 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
The Central Dogma
Started by RogueFarmer |
0 Replies
2,539 Views |
![]() by RogueFarmer |
![]() |
![]() |
The Future of Food
Started by TylerDurden |
2 Replies
2,543 Views |
![]() by Löwenherz |
![]() |
![]() |
0 Replies
2,544 Views |
![]() by TylerDurden |
|
![]() |
![]() |
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,544 Views |
![]() by goodsamaritan |
![]() |
![]() |
Energy / device medicine
Started by raw-al |
0 Replies
2,544 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
2,545 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
0 Replies
2,546 Views |
![]() by Spirit Bear |
|
![]() |
![]() |
1 Replies
2,547 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Virgin Boy Eggs
Started by raw-al |
0 Replies
2,548 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
2,549 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Promising article on cooked foods
Started by TylerDurden |
0 Replies
2,550 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,552 Views |
![]() by sabertooth |
|
![]() |
![]() |
0 Replies
2,559 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
2,562 Views |
![]() by LePatron7 |
|
![]() |
![]() |
UN classifies Roundup as carcinogenic
Started by raw-al |
0 Replies
2,565 Views |
![]() by raw-al |
![]() |
![]() |
hrt for men
Started by ruffiny89 |
1 Replies
2,570 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,572 Views |
![]() by carnivore |
|
![]() |
![]() |
Diet Cola-derived health problems
Started by TylerDurden |
2 Replies
2,573 Views |
![]() by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll