<form action="register.php"method="post">
姓名:<input type="text"name="username"/>
密码:<input type="password"name="passwd"/>
<input type="submit"name="register"value="注册"/>
</from>