$special_pattern = “/[`~!@#$%^&* | \'";:\/?^=^+_()<>]/”; |
if( preg_match($special_pattern, $user_id) ){ $msg = “특수문자는 사용할 수 없습니다.”; echo(“”); exit; }
$special_pattern = “/[`~!@#$%^&* | \'";:\/?^=^+_()<>]/”; |
if( preg_match($special_pattern, $user_id) ){ $msg = “특수문자는 사용할 수 없습니다.”; echo(“”); exit; }