<title>在线MD5加密</title>
<?
header("Content-Type: text/html; charset=utf-8");
?>
<hr align=left>
<?php
error_reporting( 0 );
$d=$_POST["mm"];
$txt="加密结果:";
if($d=="")
echo $txt."禁止输入空信息!";
else
echo $txt.md5($d);
?>
<div>
<form name="input" action="md5.php" method="post">输入你要加密的文字:<br /><input type="text" name="mm"><br /><input type="submit" value="确认" /></form>
</div>
<hr align=left>