0

Please how can I edit a web page so I can receive the login details

15th Oct 2018, 8:39 AM
Alexander pounds
Alexander pounds - avatar
2 Antworten
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.".";
15th Oct 2018, 9:07 AM
Jan Štěch
Jan Štěch - avatar
0
You can find more info here: https://www.sololearn.com/learn/PHP/1840/
15th Oct 2018, 9:08 AM
Jan Štěch
Jan Štěch - avatar