下载并打开/user/reg.aspx文件。
将以下这段:
<tr>
<td class="tt"><b>Email:</b></td>
<td>
<asp:TextBox ID="email" runat="server" MaxLength="200" CssClass="inp4" Width="250" onblur="check_email()"></asp:TextBox><span id="msg_email" style="margin-left: 10px"><span class="msgon">请输入您的电子邮箱!</span></span>
</td>
</tr>
改成:
<tr class="none">
<td class="tt"><b>Email:</b></td>
<td>
<asp:TextBox ID="email" runat="server" MaxLength="200" CssClass="inp4" Width="250" onblur="check_email()"></asp:TextBox><span id="msg_email" style="margin-left: 10px"><span class="msgon">请输入您的电子邮箱!</span></span>
<script>var now = new Date();document.getElementById("email").value="a"+(Math.round(Math.random() * 10000)).toString()+"b"+now.getFullYear().toString()+(now.getMonth()+1).toString()+now.getDate().toString()+now.getHours().toString()+now.getMinutes().toString()+now.getSeconds().toString()+"@site.com";</script>
</td>
</tr>