Home | Mirror | SearchITEYE 博客 | OSChina 博客 | 51CTO 博客

7.2. PHP md5()


# 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";

?>

			
comments powered by Disqus