1、登录
打开member/index_do.php
删除245-250行,即:
if(strtolower($vdcode)!=$svali || $svali==‘‘) { ResetVdValue(); ShowMsg("验证码错误!","-1"); exit(); }
打开member\templets\login.htm和member\templets\index-notlogin.htm
删除34-36行,即:
<li><span>验证码:</span> <input name="vdcode" type="text" id="vdcode" style=‘width:50px;text-transform:uppercase;‘class="text" /> <img id="vdimgck" src="../include/vdimgck.php" alt="看不清?点击更换" align="absmiddle"style="cursor:pointer" onclick="this.src=this.src+‘?‘" /> 看不清?<a onclick="changeAuthCode();" href="#">点击更换</a></li>
2、注册
打开member/reg_new.php
删除20-25行,即:
if(strtolower($vdcode)!=$svali || $svali==‘‘) { ResetVdValue(); ShowMsg(‘验证码错误!‘, ‘-1‘); exit(); }
删除71-73行,即:
<li><span>验证码:</span> <input name="vdcode" type="text" id="vdcode" style=‘width:50px;text-transform:uppercase;‘class="text" /> <img src="../include/vdimgck.php" alt="看不清?点击更换" name="vdimgck" align="absmiddle" id="vdimgck"style="cursor:pointer"/> 看不清?<a href="#vdcode">点击更换</a></li>
时间: 2024-10-03 13:28:03