/* * 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; } } } } }
One more step towards a police state. If you're stateside, please write your reps, write the president, express your disgust, let them know that they work for you, not the other way around.
Fair enough, better said: one more step towards an overt police state. Eventually the government will feel comfortable admitting it, but not until they are confident in their invulnerability and total control.Why on earth would they admit anything once they have total control?
I don't really understand what you're saying.Im saying total control will make it much easier to keep wearing that cloak. They will never shed it for than it would no longer be possible to play world police to steal oil ooow excuse me I meant to bring democracy to the middle east..
I'm saying they will come out of the closet eventually as an authoritarian regime, whereas right now they still wear the cloak of a democratic republic.