View file includes/func_check.php
<? 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; } } ?>