Password problem
Posted: Thu Oct 24, 2002 10:04 am
I am building a very simple password example. I have 2 text field in my html form, username and password. On submit I call password.php. When I am in there all I thought I had to do was this:
<?
if($username=="me" && $password=="you") {
echo "your in";
}
else {
echo "You have not entered a valid username/password. Remember, they are case sensitive.";
}
?>
it doesn't seem to work though, any ideas? I alo need to know how to call a html page in php, like mypage.html.
<?
if($username=="me" && $password=="you") {
echo "your in";
}
else {
echo "You have not entered a valid username/password. Remember, they are case sensitive.";
}
?>
it doesn't seem to work though, any ideas? I alo need to know how to call a html page in php, like mypage.html.