Thanks for your help...Just in case if any one cares, here is the login script i got...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Login</TITLE>
<!--
Written By: Nicholas Tseles
1/25/2005
-->
</HEAD>
<BODY bgcolor="#000000" text="red">
<!--
The following javascript function will act as our error page
-->
<script language="javascript">
function error()
{
document.write("<br><br><br><body bgcolor='black' text='red' link='purple' alink='purple' vlink='purple'><center>Unable to confirm password!<br><br><a href='index.php'><h4>Back</h4></a></center></body>");
}
//This function will make sure the text box is not empty
function check()
{
if(form1.pass.value == ""){error();}
}
</script>
<center>
<br><br><br>
<center><form name="form1" method="post" action="check1.php">
Username<input type="username" name="user" size="15"><br><br>
Password<input type="password" name="pass" size="15"><br><br>
<form name="form1" method="post" action="check.php"><br />
<input type="submit" name="submit" value="Enter" onclick="check()">
</center
</form>
<br><br><br>
If your password fails<br>
your IP will be logged as<br>
<!-- The following php code just scares people by showing them their
ip, you dont really have to log it.
-->
<?php
$ip = $_SERVER['REMOTE_ADDR'];
echo $ip;
?>
it works well because I do not have to maintain a databse...now I have to maintain a txt file!!! o well now i have to reidirect people from the login successful to the member page...any ideas??