/* * 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
![]() |
---|---|---|---|
sbt.pdf | 1477 | Re: Yuri recovery | July 28, 2010, 11:37:37 pm |
Malabsorption.21.pdf | 1011 | Re: Yuri recovery | May 28, 2010, 12:07:40 am |
sore.jpg | 2297 | Re: Yuri recovery | May 06, 2010, 11:11:49 pm |
shiners.JPG | 795 | Re: Yuri recovery | March 14, 2010, 11:33:25 pm |
dry.jpg | 1140 | Re: Yuri recovery | February 03, 2010, 02:19:08 am |
raw.jpg | 1253 | Re: Yuri recovery | February 03, 2010, 02:19:08 am |
2009-Nov-12-.jpg | 878 | Re: Yuri recovery | November 13, 2009, 02:38:16 am |
2009-Nov-12+.jpg | 924 | Re: Yuri recovery | November 13, 2009, 02:38:16 am |
on.the.plate.jpg | 1152 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
formed.jpg | 1210 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
in.the.jar.jpg | 1128 | Re: Yuri recovery | September 22, 2009, 12:34:25 am |
2009-09-16.jpg | 15183 | Re: Iris colour change on a raw animal food diet | September 16, 2009, 05:12:38 pm |
lipid.jpg | 849 | Re: butter attack | September 07, 2009, 02:58:51 am |
culturing.doc | 1283 | Re: Hot Pink Sauerkraut! | August 08, 2008, 10:48:32 pm |
SALTLESS.doc | 1043 | Re: Hot Pink Sauerkraut! | August 08, 2008, 10:48:32 pm |
OwnSauerkraut.pdf | 3112 | Re: Hot Pink Sauerkraut! | August 07, 2008, 05:52:45 pm |
Sauerkraut.pdf | 1148 | Re: Hot Pink Sauerkraut! | August 07, 2008, 05:52:45 pm |