Quantcast
Channel: 非常无聊博客 » phpcms
Viewing all articles
Browse latest Browse all 4

PHPCMS取消后台登陆验证码的办法

0
0

$code = isset($_POST[‘code’]) && trim($_POST[‘code’]) ? trim($_POST[‘code’]) : showmessage(L(‘input_code’), HTTP_REFERER); if ($_SESSION[‘code’] != strtolower($code)) { showmessage(L(‘code_error’), HTTP_REFERER); }

操作完成后再刷新一下后台,看看验证码是不是已经没了?


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images