Foreground shutdown Method:
\phpcms\modules\member\index.php//Find "//Verify code" below 4 lines of code
$code = isset ($_post[' code ') && trim ($_post[' code ')? Trim ($_post[' code '): ShowMessage (L (' Input_code '), http_referer); if ($_session[' code ']! = Strtolower ($code)) {$_sess ion[' Code ' = '; ShowMessage (L (' Code_error '), http_referer);}
\phpcms\templates\default\member\login.html//Template page code:
<div class= "Input" > <label>{l (' checkcode ')}:</label><input type= "text" id= "code" name= "code" Size= "8" class= "Input-text" >{form::checkcode (' code_img ', ' 5 ', ' + ', ' + ')}</div>
Background shutdown method (similar to the foreground):
\phpcms\modules\admin\index.php//Find "//Not for password card verification" below 4 lines of code
$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//Template page code:
<label><?php echo L (' Security_code ')? >:</label><input name= "code" type= "text" class= "IPT Ipt_ Reg "onfocus=" document.getElementById (' Yzm '). style.display= ' Block '/>
Note: PHP content HTML code is not commented out, it is best to use//comment out
This article is from the "Keke" blog, make sure to keep this source http://keke51cto.blog.51cto.com/6467511/1652726
Phpcms remove foreground and background login verification code