Page 1 of 1

Posted: Thu Oct 03, 2002 11:33 pm
by Jay
Make a form, set the action to a PHP page, method to POST (for security). When they submit the form you get the variables through the $_POST array, and you can do what you wish with it from here!

Re: PHP LOGIN FORMS

Posted: Fri Oct 04, 2002 6:50 am
by mjr
illegalport wrote:Can Sumone Please Tell Me How To Make A PHP Login Form~? :o


make html form like

Code: Select all

<form action="test.php">
Login: <input type=text name=frmLogin><br>
password: <input type=password name=frmPassword>
</form


and then in test.php

Code: Select all

<?
  echo "Login is $frmLogin; password is $frmPassword";
?>