Kitty Juice
New member
in the header of your html index page:
(if you have variables to include in the index page)
<?php
include("login.php");
?>
then the form where they login that will POST the user's input to login, (which you may need to change)
in the body section:
<form name="login" method="POST" action="login.php">
Username:<input type="text" name="username" />
Password:<input type="password" name="password" />
<input type="submit" value="Submit!" />
</form>
This will submit to your login.php page and depending how your login.php works, it will work.
(if you have variables to include in the index page)
<?php
include("login.php");
?>
then the form where they login that will POST the user's input to login, (which you may need to change)
in the body section:
<form name="login" method="POST" action="login.php">
Username:<input type="text" name="username" />
Password:<input type="password" name="password" />
<input type="submit" value="Submit!" />
</form>
This will submit to your login.php page and depending how your login.php works, it will work.