# cat md5.php <html> <p>MD5 密碼產生器</p> <form method=post action=des.php> <p>password:<input name=passwd type=text size=20></p> <input type=submit value=submit> </form> <? $enpw=md5($passwd); echo "password is: $enpw"; ?>