+ 1
How to get login information in action.php file.need action.php file
2 Answers
+ 1
<?php
$user=$_POST['username'];
$pass=$_POST['password'];
?>
I am assuming here that the name of the input field in file that contains html form is 'username' and the field for password has the name 'password'.
0
<?php $email = $_POST["email"] ?>
assuming that input field on login page has attribute name="email"
and that you have used post method in form