Date: 11/06/00
- Next message: Scott Baker: "[PHP] Re: mysql_fetch_row?"
- Previous message: Curtis, Lorenzo: "RE: [PHP] Cookie for Netscape only?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a login script.so if the person enters the wrong username or
password or nothing at all he is directed back to the login page,however if
they enter the right username/password i want them to go straight to the
page
but i cant get it to work,just now i can get it to display a link to the
page but not take them to the page directly.
the code is
if ($num != 0)
$msg = "<a href=\"forum.php\">enter</a>";
} else
header("Location: http://localhost/login.htm");
exit;
}
I thought i could have replaced $msg with
header("Location: http://pathtopage");
exit;
Thanks in advance
George
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Scott Baker: "[PHP] Re: mysql_fetch_row?"
- Previous message: Curtis, Lorenzo: "RE: [PHP] Cookie for Netscape only?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

