/* * 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; } } } } }
In France, most people eat raw shellfish!I am glad to hear it. France is one of the few European countries with at least some interest in raw foods. My mention of the royal couple is because many people are easily led by the more prominent in society. For example, any outfit worn by a young female Royal, such as Princess Diana in her heyday, causes millions of women to buy the same sort of clothes from the relevant shop. Then there was the ridiculous, nauseating public hysteria over Princess Diana's death! Even the Daily Telegraph, normally a relatively sober, respectable newspaper, devoted all or most of its pages for several days to the incident, all because women are fed this propaganda about princesses as little girls.