/* * 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
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Filename | Downloads | Message | Posted |
---|---|---|---|
2009-Nov-12+.jpg | 788 | Re: Yuri recovery | November 13, 2009, 02:38:16 am |
dry.jpg | 876 | Re: Yuri recovery | February 03, 2010, 02:19:08 am |
raw.jpg | 980 | Re: Yuri recovery | February 03, 2010, 02:19:08 am |
shiners.JPG | 645 | Re: Yuri recovery | March 14, 2010, 11:33:25 pm |
in.the.jar.jpg | 858 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
sore.jpg | 2030 | Re: Yuri recovery | May 06, 2010, 11:11:49 pm |
on.the.plate.jpg | 875 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
Malabsorption.21.pdf | 663 | Re: Yuri recovery | May 28, 2010, 12:07:40 am |
formed.jpg | 900 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
sbt.pdf | 1367 | Re: Yuri recovery | July 28, 2010, 11:37:37 pm |
2009-Nov-12-.jpg | 755 | Re: Yuri recovery | November 13, 2009, 02:38:16 am |
2009-09-16.jpg | 15016 | Re: Iris colour change on a raw animal food diet | September 16, 2009, 05:12:38 pm |
culturing.doc | 1112 | Re: Hot Pink Sauerkraut! | August 08, 2008, 10:48:32 pm |
SALTLESS.doc | 877 | Re: Hot Pink Sauerkraut! | August 08, 2008, 10:48:32 pm |
OwnSauerkraut.pdf | 2944 | Re: Hot Pink Sauerkraut! | August 07, 2008, 05:52:45 pm |
Sauerkraut.pdf | 1006 | Re: Hot Pink Sauerkraut! | August 07, 2008, 05:52:45 pm |
lipid.jpg | 736 | Re: butter attack | September 07, 2009, 02:58:51 am |