search
HomeCMS TutorialDEDECMSHow to remove DEDECMS verification code

How to remove DEDECMS verification code

How to remove the DEDECMS verification code?

How to remove DEDECMS verification code

In [Verification Code Security Settings], it is said that the modified save actually modifies data/safe/ The inc_safe_config.php file is a configuration file.

For example:

$safe_gdopen = '1,2,3,5,6'; This is where the verification code is enabled in the system. There is a one-to-one relationship with the [Verification Code Security Settings] interface.

So, if the verification code cannot be entered correctly and the GB library is not supported, you only need to open data/safe/inc_safe_config.php and set $safe_gdopen = '1,2,3,5,6'; 6 Just delete it. No need to go through tedious settings.

Recommended learning: dedecms tutorial

How to directly remove the front desk login verification code

1. Login

Open member/index_do.php

Delete lines 245-250, that is:

if(strtolower($vdcode)!=$svali || $svali=='')  
        {  
            ResetVdValue();  
            ShowMsg("验证码错误!","-1");  
            exit();  
        }

Open membertempletslogin.htm and membertempletsindex-notlogin. htm

Delete lines 34-36, that is:

<li><span>验证码:</span> 
          <input name="vdcode" type="text" id="vdcode" style=&#39;width:50px;text-transform:uppercase;&#39; class="text" /> 
          <img src="/static/imghwm/default1.png"  data-src="../include/vdimgck.php"  class="lazy"  id="vdimgck"  alt="看不清?点击更换" align="absmiddle"   style="max-width:90%" onclick="this.src=this.src+&#39;?&#39;" /> 看不清?<a onclick="changeAuthCode();" href="#">点击更换</a></li>

2. Register

Open member/reg_new.php

Delete 20-25 lines, that is:

toxue.com  
   
    if(strtolower($vdcode)!=$svali || $svali==&#39;&#39;)  
    {  
        ResetVdValue();  
        ShowMsg(&#39;验证码错误!&#39;, &#39;-1&#39;);  
        exit();  
    }

Open membertempletsreg-new.htm

Delete lines 71-73, that is:

toxue.com  
 
<li><span>验证码:</span> 
          <input name="vdcode" type="text" id="vdcode" style=&#39;width:50px;text-transform:uppercase;&#39; class="text" /> 
          <img src="/static/imghwm/default1.png"  data-src="../include/vdimgck.php"  class="lazy"   alt="看不清?点击更换" name="vdimgck" align="absmiddle" id="vdimgck"   style="max-width:90%"/> 看不清?<a href="#vdcode">点击更换</a></li>

The above is the detailed content of How to remove DEDECMS verification code. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use