Hello, sounds like you got it working.
For anyone else reading this thread, the html form that Dirk refered to would be as follows:
Text Formatted Code
<form action="http://www.yoursite.net/users.php" method="POST">
<b>Username:</b><br>
<input type="text" size="10" name="loginname" value=""><br>
<b>Password:</b><br>
<input type="password" size="10" name="passwd"><br>
<input type="submit" value="Login">
</form>
Note that no php is required at all. However, in this state, the form will be seen by all users, whether they are logged in or not. You could do some simple code to hide the form if a user was logged in.
Exaurdon~