OK, if you already have a login page that you don't want to use any more, open it up (eww) and look at the insides (ewwwww). You'll find something like this;
HTML Code:
<form method="POST" action="webmail/login.php">
Username <input type="text" name="user_name"><br>
Password <input type="password" name="user_pass"><br>
<input type="submit" value="Log in">
</form>
What you need to do then is add the form tags around your login username and password inputs, and set the name for your username and password inputs to be the same as on your origonal page. Your form must have the same method (in this case POST (most likely)), and the same action, the address of the file that handles the login (in this case webmail/login.php). Yell if you need more help.
|