您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
前台关闭方法:
\phpcms\modules\member\index.php // 查找“//判断验证码”下面4行代码
$code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) : showmessage(L('input_code'), HTTP_REFERER);
if ($_SESSION['code'] != strtolower($code)) {
$_SESSION['code'] = '';
showmessage(L('code_error'), HTTP_REFERER);
}\phpcms\templates\default\member\login.html //模板页面代码:
<div class="input">
<label>{L('checkcode')}:</label><input type="text" id="code" name="code" size="8"
class="input-text">{form::checkcode('code_img', '5', '14', 120, 26)}
</div>后台关闭方法(和前台类似):
\phpcms\modules\admin\index.php // 查找“//不为口令卡验证”下面4行代码
$code = isset($_POST['code']) && trim($_POST['code']) ? trim($_POST['code']) :showmessage(L('input_code'), HTTP_REFERER);
if ($_SESSION['code'] != strtolower($code)) {
$_SESSION['code'] = '';
showmessage(L('code_error'), HTTP_REFERER);
}\phpcms\modules\admin\templates\login.tpl.php //模板页面代码:
<label><?php echo L('security_code')?>:</label><input name="code" type="text" class="ipt ipt_reg" onfocus="document.getElementById('yzm').style.display='block'" />注:php内容html代码是注释不掉的,最好用//注释掉
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。