이메일주소 검사하기 입니다. 정보
PHP 이메일주소 검사하기 입니다.
본문
<?php
 echo "<form action=$PHP_SELF method=post>"; 
 echo "<input type=text name=address></input><input type=submit></input>"; 
 echo "</form>"; 
 if (ereg('^[-!#$%&'*+./0-9=?A-Z^_`a-z{|}~]+'.'@'.'[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+.'.'[-!#$%&' 
 '*+./0-9=?A-Z^_`a-z{|}~]+$',$address)) { 
 echo "당신의 이메일주소는 $address 입니다."; 
 } else echo "$address 는 올바른 이메일주소가 아닙니다."; 
php?>
                        
                추천
                
0
                
    0
 
 
댓글 0개