In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the method of canceling the background login verification code by phpcms. I hope you will gain a lot after reading this article. Let's discuss it together.
How does phpcms cancel the background login verification code?
The background verification code of the website has always been a feature of most open source programs to enhance background security, which can prevent the background from being violently cracked by programs and other unsafe situations. But as we all know, most of the CAPTCHA is displayed in the form of a picture, and if the CAPTCHA is not displayed, it will cause the background unable to log in. This is not, the editor of the worry-free host encountered the background verification code of the phpcmsV9 program can not be displayed, the verification code is all red ×. As the customer is in a hurry, and the editor has not found the root cause of the problem for the time being, he gave the customer a temporary solution to deal with the background verification code, which is known as "one-size-fits-all": cancel the background verification code. The following editor will share with you the method of canceling the phpcmsV9 background CAPTCHA.
The detailed configuration steps are as follows:
Step one:
Follow the path of the directory to find the file phpcms\ modules\ admin\ index.php
Comment out 33 to 36 lines of code
$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);}
Step 2:
Follow the path of the directory to find the file phpcms\ modules\ admin\ templates\ login.tpl.php
Comment out lines 38 to 39
Comment out 38 lines of code
:->
Comment out line 39
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.