/* * 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; } } } } }
This incompetent was directly responsible for the disastrous Gallipoli campaign and his foul-up re the Gold Standard directly led to the General Strike of 1926.If not for the US...Would you tell me more about the Gold Standard and General Strike issues?
When the Kurds rebelled against British rule in Iraq, he said: “I am strongly in favor of using poisoned gas against uncivilized tribes.” It “would spread a lively terror.”
...even at the time, Churchill was seen as standing at the most brutal and brutish end of the British imperialist spectrum. This was clearest in his attitude to India. When Gandhi began his campaign of peaceful resistance, Churchill raged that he “ought to be lain bound hand and foot at the gates of Delhi and then trampled on by an enormous elephant with the new Viceroy seated on its back.”
http://www.nytimes.com/2010/08/15/books/review/Hari-t.html