/* * 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 38 Guests are viewing this board. | ||||
![]() |
![]() |
Other Raw-Meat-Eating Forums
Started by TylerDurden |
0 Replies
2,771 Views |
![]() by TylerDurden |
![]() |
![]() |
MOVED: Maldigestion
Started by TylerDurden |
0 Replies
2,763 Views |
![]() by TylerDurden |
![]() |
![]() |
Aajonus raw dairy rights bill e-mail
Started by TylerDurden |
0 Replies
2,761 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,755 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,744 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Message from Aajonus
Started by TylerDurden |
0 Replies
2,743 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,741 Views |
![]() by seesawsemiology |
|
![]() |
![]() |
0 Replies
2,733 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,729 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
More on genetically modified food
Started by kurite |
0 Replies
2,728 Views |
![]() by kurite |
![]() |
![]() |
0 Replies
2,725 Views |
![]() by Aura |
|
![]() |
![]() |
Aajonus message re 510 bill
Started by TylerDurden |
0 Replies
2,718 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,684 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,674 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,672 Views |
![]() by bharminder |
|
![]() |
![]() |
0 Replies
2,642 Views |
![]() by jessica |
|
![]() |
![]() |
Food for thought (colbert report)
Started by sabertooth |
0 Replies
2,641 Views |
![]() by sabertooth |
![]() |
![]() |
Space Produce.
Started by kurite |
0 Replies
2,628 Views |
![]() by kurite |
![]() |
![]() |
0 Replies
2,575 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Aajonus notification of some sort
Started by TylerDurden |
0 Replies
2,573 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,559 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Ancient vege pills found in shipwreck
Started by raw-al |
0 Replies
2,558 Views |
![]() by raw-al |
![]() |
![]() |
0 Replies
2,542 Views |
![]() by cheyennemtnman |
|
![]() |
![]() |
0 Replies
2,538 Views |
![]() by raw-al |
|
![]() |
![]() |
Trapped Canadian man survives on rotting meat
Started by raw |
0 Replies
2,476 Views |
![]() by raw |
![]() |
![]() |
0 Replies
2,468 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,439 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,423 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll