S
S
Sigar492022-03-27 11:10:15
PHP
Sigar49, 2022-03-27 11:10:15

How to create authorization on PHPMYADMIN site?

How to create authorization on PHPMYADMIN site?
Help me, I have a problem.
I have code:
index.php

<html>
<head>
  <meta charset="utf-8">
  <title>Register - SigCorp</title>
</head>
<body>
  <div align="center">
    <form action="" method="post">
    <h1>Register</h1>
    <br><br><br>
    <label>Login:</label><input type="text" name="login">
    <br>
    <label>Password:</label><input type="password" name="password">
    <br>
    <br>
        <form method="POST">
            <input type="submit" name="proverka" value="Нажмите" />
        </form>
    <br><br>
    <a href="login.php">Login</a>
  </div>
</body>
</html>

login.php
<html>
<head>
  <meta charset="utf-8">
  <title>Log In - SigCorp</title>
</head>
<body>
  <div align="center">
    <form action="" method="post">
    <h1>Log In</h1>
    <br><br><br>
    <label>Login:</label><input type="text" name="login">
    <br>
    <label>Password:</label><input type="password" name="password">
    <br>
    <br>
        <form method="POST">
            <input type="submit" name="proverka" value="Нажмите" />
        </form>
    <br><br>
    <a href="index.php">Register</a>
  </div>
</body>
</html>

And I have phpMyAdmin with id, username, password columns (and that's all)
How can I check username and password?
If you need more details, I will write in the answer.

Hostname: localhost
Login: root
Password: root

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question