Want to add a verification code to phpmyadmin? However, if the verification cannot be found, can you tell me

Source: Internet
Author: User
Want to add a verification code to phpmyadmin ?? However, the verification code cannot be found. can you tell me you want to add a verification code to phpmyadmin ?? However, the verification cannot be found. can you tell me. After all, it is easy for social workers to get verification codes. At the same time, I also want to encrypt the password in JS and then use PHP to decrypt it. Let me know. Thank you ., At the end of this post, xuzuning in 2012-12-201 wants to add a verification code to phpmyadmin ?? But the verification cannot be found. can you tell me?
Want to add a verification code to phpmyadmin ?? However, the verification cannot be found. can you tell me.



After all, it is easy for social workers to get verification codes. At the same time, I also want to encrypt the password in JS and then use PHP to decrypt it.

Let me know. Thank you.
------ Solution --------------------
At the end of this post, the logon form is edited by xuzuning at 16:46:41 on January 20, 240, which is near row libraries/auth/cookie. auth. lib. php.
The user name operation is near row 450 of the file.
    if (! empty($_REQUEST['pma_username'])) {
        // The user just logged in
        $GLOBALS['PHP_AUTH_USER'] = $_REQUEST['pma_username'];
        $GLOBALS['PHP_AUTH_PW']   = empty($_REQUEST['pma_password']) ? '' : $_REQUEST['pma_password'];
        if ($GLOBALS['cfg']['AllowArbitraryServer'] && isset($_REQUEST['pma_servername'])) {
            $GLOBALS['pma_auth_server'] = $_REQUEST['pma_servername'];
        }
        return true;
    }

Phpmysqladmin does not need to verify the authenticity of the user name and password.
Because the account name and password are used for mysql, the database cannot be connected if an error occurs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.