第一步:首先做一个如下页面。
<html>
<head>
<title>申请帐号</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.p11 { font-size: 10pt; color: #000000; text-decoration: none}
.c3a {font-size: 9pt; color: #000000; background-color: #ffffff; border: 1 solid #ff9900}
-->
</style>
</head>
<body bgcolor="#FFFFFF" topmargin="0">
<table width="440" border="0" cellspacing="0" cellpadding="0" align="center">
<form method="post" action="zc.php">
<tr>
<td width="230"><img src="/images/login.gif" width="200" height="30"></td>
<td width="210" class="p11" valign="bottom"><font color="#FF6699">*</font>为必填项</td>
</tr>
</table>
<table width="440" border="1" cellspacing="0" cellpadding="0" align="center" bgcolor="#eeeeee" bordercolordark="#eeeeee" bordercolorlight="#ffcf60">
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="56%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="170">
<tr>
<td width="111" class="p11">
<div align="right">用户名:</div>
</td>
<td width="207" class="p11">
<input type="text" name="name" size="20" class="c3a">
<span class="p11"><font color="#FF6699">*</font></span> </td>
</tr>
<tr>
<td width="111" class="p11">
<div align="right">密码:</div>
</td>
<td width="207" class="p11">
<input type="password" name="word" size="20" class="c3a">
<span class="p11"><font color="#FF6699">*</font></span> </td>
</tr>
<tr>
<td width="111" class="p11">
<div align="right">确认密码:</div>
</td>
<td width="207" class="p11">
<input type="password" name="pass" size="20" class="c3a">
<span class="p11"><font color="#FF6699">*</font> </span></td>
</tr>
<tr>
<td width="111" height="29" class="p11">
<div align="right">提示问题:</div>
</td>
<td width="207" height="29" class="p11">
<input type="text" name="ask" size="20" class="c3a">
</td>
</tr>
<tr>
<td width="111" height="28" class="p11">
<div align="right">答案提示:</div>
</td>
<td width="207" height="28" class="p11">
<input type="text" name="answer" size="20" class="c3a">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" name="Submit" value="下一步" style="font-size: 10pt;color: #EFFB00; background-color: rgb(225,153,0)">
<input type="reset" name="Submit2" value="重来" style="font-size: 10pt;color: #EFFB00; background-color: rgb(225,153,0)">
</div>
<html>
<head>
<title>申请帐号</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.p11 { font-size: 10pt; color: #000000; text-decoration: none}
.c3a {font-size: 9pt; color: #000000; background-color: #ffffff; border: 1 solid #ff9900}
-->
</style>
</head>
<body bgcolor="#FFFFFF" topmargin="0">
<table width="440" border="0" cellspacing="0" cellpadding="0" align="center">
<form method="post" action="zc.php">
<tr>
<td width="230"><img src="/images/login.gif" width="200" height="30"></td>
<td width="210" class="p11" valign="bottom"><font color="#FF6699">*</font>为必填项</td>
</tr>
</table>
<table width="440" border="1" cellspacing="0" cellpadding="0" align="center" bgcolor="#eeeeee" bordercolordark="#eeeeee" bordercolorlight="#ffcf60">
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="56%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="170">
<tr>
<td width="111" class="p11">
<div align="right">用户名:</div>
</td>
<td width="207" class="p11">
<input type="text" name="name" size="20" class="c3a">
<span class="p11"><font color="#FF6699">*</font></span> </td>
</tr>
<tr>
<td width="111" class="p11">
<div align="right">密码:</div>
</td>
<td width="207" class="p11">
<input type="password" name="word" size="20" class="c3a">
<span class="p11"><font color="#FF6699">*</font></span> </td>
</tr>
<tr>
<td width="111" class="p11">
<div align="right">确认密码:</div>
</td>
<td width="207" class="p11">
<input type="password" name="pass" size="20" class="c3a">
<span class="p11"><font color="#FF6699">*</font> </span></td>
</tr>
<tr>
<td width="111" height="29" class="p11">
<div align="right">提示问题:</div>
</td>
<td width="207" height="29" class="p11">
<input type="text" name="ask" size="20" class="c3a">
</td>
</tr>
<tr>
<td width="111" height="28" class="p11">
<div align="right">答案提示:</div>
</td>
<td width="207" height="28" class="p11">
<input type="text" name="answer" size="20" class="c3a">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" name="Submit" value="下一步" style="font-size: 10pt;color: #EFFB00; background-color: rgb(225,153,0)">
<input type="reset" name="Submit2" value="重来" style="font-size: 10pt;color: #EFFB00; background-color: rgb(225,153,0)">
</div>