一、去掉会员注册的验证码
打开member/reg_new.php找到40行左右,把下面这段代码去掉
打开member/templets/reg-new.htm找到172行左右,把下面这段代码去掉
<?php
if(preg_match("/1/",$safe_gdopen)){
?>
<li><span>验证码:</span>
<input type="text" class="intxt w200" style="width: 50px; text-transform: uppercase;" id="vdcode" name="vdcode"/><img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../include/vdimgck.php"/>
看不清? <a href="javascript:void(0)" onclick="changeAuthCode();">点击更换</a></li>
<?php }?>
if(preg_match("/1/",$safe_gdopen)){
?>
<li><span>验证码:</span>
<input type="text" class="intxt w200" style="width: 50px; text-transform: uppercase;" id="vdcode" name="vdcode"/><img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../include/vdimgck.php"/>
看不清? <a href="javascript:void(0)" onclick="changeAuthCode();">点击更换</a></li>
<?php }?>
二、去掉会员登录的验证码
打开member/index_do.php找到253行左右,把下面这段代码去掉
if(strtolower($vdcode)!=$svali || $svali=='')
{
ResetVdValue();
ShowMsg('验证码错误!', 'index.php');
exit();
}
{
ResetVdValue();
ShowMsg('验证码错误!', 'index.php');
exit();
}
打开member/templets/index-notlogin.htm找到67行左右,把下面这段代码去掉
<li> <span>验证码:</span>
<input id="vdcode" class="text login_from3" type="text" style="width: 50px; text-transform: uppercase;" name="vdcode"/>
<img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../include/vdimgck.php"/>
看不清? <a href="#" onclick="changeAuthCode();">点击更换</a> </li>
<input id="vdcode" class="text login_from3" type="text" style="width: 50px; text-transform: uppercase;" name="vdcode"/>
<img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../include/vdimgck.php"/>
看不清? <a href="#" onclick="changeAuthCode();">点击更换</a> </li>
打开member/templets/login.htm找到76行左右,把下面这段代码去掉
<li> <span>验证码:</span>
<input id="vdcode" class="text login_from3" type="text" style="width: 50px; text-transform: uppercase;" name="vdcode"/>
<img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../include/vdimgck.php"/>
看不清? <a href="#" onclick="changeAuthCode();">点击更换</a> </li>
<input id="vdcode" class="text login_from3" type="text" style="width: 50px; text-transform: uppercase;" name="vdcode"/>
<img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../include/vdimgck.php"/>
看不清? <a href="#" onclick="changeAuthCode();">点击更换</a> </li>