View file includes/func_check.php

File size: 336B
<?
function check($string, $symbols = "")
{
	//Основные символы
	$symbols .= "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789-._()=";

	$string = strtr($string, $symbols, str_repeat(" ", strlen($symbols)));
	$string = trim($string);

	if(empty($string))
	{
		return true;
	}else{
		return false;
	}

}
?>