0
Please how can I edit a web page so I can receive the login details
2 ответов
0
If you are using a form with POST method, you should be able to get inputted data in PHP like this:
HTML:
<form action=login.php method=POST>
    <input type=text name="username">
    <br />
    <input type=password name="password">
</form>
login.php:
$username = $_POST['username'];
$pass = $_POST['password'];
echo "Username is ".$username." and password is ".$pass.".";
0
You can find more info here: https://www.sololearn.com/learn/PHP/1840/



