/* * 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 |
---|---|---|---|
sore.jpg | 2029 | Re: Yuri recovery | May 06, 2010, 11:11:49 pm |
shiners.JPG | 644 | Re: Yuri recovery | March 14, 2010, 11:33:25 pm |
sbt.pdf | 1365 | Re: Yuri recovery | July 28, 2010, 11:37:37 pm |
Sauerkraut.pdf | 1006 | Re: Hot Pink Sauerkraut! | August 07, 2008, 05:52:45 pm |
SALTLESS.doc | 877 | Re: Hot Pink Sauerkraut! | August 08, 2008, 10:48:32 pm |
raw.jpg | 980 | Re: Yuri recovery | February 03, 2010, 02:19:08 am |
OwnSauerkraut.pdf | 2943 | Re: Hot Pink Sauerkraut! | August 07, 2008, 05:52:45 pm |
on.the.plate.jpg | 875 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
Malabsorption.21.pdf | 662 | Re: Yuri recovery | May 28, 2010, 12:07:40 am |
lipid.jpg | 735 | Re: butter attack | September 07, 2009, 02:58:51 am |
in.the.jar.jpg | 858 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
formed.jpg | 898 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
dry.jpg | 875 | Re: Yuri recovery | February 03, 2010, 02:19:08 am |
culturing.doc | 1112 | Re: Hot Pink Sauerkraut! | August 08, 2008, 10:48:32 pm |
2009-Nov-12-.jpg | 753 | Re: Yuri recovery | November 13, 2009, 02:38:16 am |
2009-Nov-12+.jpg | 784 | Re: Yuri recovery | November 13, 2009, 02:38:16 am |
2009-09-16.jpg | 15015 | Re: Iris colour change on a raw animal food diet | September 16, 2009, 05:12:38 pm |