search
HomeCMS TutorialPHPCMSWhat should I do if I forget my phpcms password?

What should I do if I forget my phpcms password?

Nov 04, 2019 pm 04:31 PM
phpcmspasswordforgetwhat to do

What should I do if I forget my phpcms password?

1. First log in to the database and find the database corresponding to the website. Here we mainly use the member table and times table

What should I do if I forget my phpcms password?

2. Is the IP address locked? If so, do I really have to wait for an hour? Read here to teach you how to remove the lock. If not, just skip the second part and just read the fourth part.

What should I do if I forget my phpcms password?

3. Open your phpcms_times table. The prefix may be different according to your own needs. The situation is different. Delete the item corresponding to your IP address. If you are not sure about your information, you can directly select all, and then click Delete. In this way, you can log in to the backend directly without the IP lock prompt

What should I do if I forget my phpcms password?

4. Find your password key PASSWORD_KEY and find config in the include directory. inc.php file, search for PASSWORD_KEY and find the value you set, as shown in the figure:

What should I do if I forget my phpcms password?

5. Write a program to generate a new password

in phpcms , the password is stored using the secret key password and then md5 encryption. So we only need to write the following program to output the encrypted string of our password, or we can use the existing web page md5 encryption.

Sample program:

<?php
$str=&#39;passkey&#39;.&#39;111111&#39;;
echo md5($str);
?>

What should I do if I forget my phpcms password?

6. Copy the encrypted string, find the phpcms_member table in the database, select your user name, and click Edit. Then replace the password string with the copied encrypted string

What should I do if I forget my phpcms password?

7. In this way, the modification process is over. Return to the normal background and use the password just set ( 111111) You can log in directly

Recommended tutorial:phpcms tutorial

The above is the detailed content of What should I do if I forget my phpcms password?. 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)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version