Thread: MySQL/PHP Help
View Single Post
Old August 20th, 2006, 10:17 PM   #2 (permalink)
cowboy
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by hunna03 View Post
...
echo "<br><br><br><br><br><center><b>Please login:</b><br><br>

<form method=POST action=home.php>
Username: <input type=text name=\"username\"><br>
Password: <input type=password name=\"password\"><br><br>
<input type=submit value=Login>
</center></form>

...
Should have "s as:
Code:
<form method=\"POST\" action=\"home.php\">
Username: <input type=text name=\"username\"><br>
Password: <input type=password name=\"password\"><br><br>
<input type=\"submit\" value=\"Login\">
If you still have problems verify you are POSTing the variables by temporarily adding this to auth.php right after <?:
Code:
if ($_POST) {
print_r($_POST);
exit;
}
It will show the POST variables and stop.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is online now   Reply With Quote