authentication in PHP ?
Posted
by user296516
on Stack Overflow
See other posts from Stack Overflow
or by user296516
Published on 2010-05-09T12:23:32Z
Indexed on
2010/05/09
12:28 UTC
Read the original article
Hit count: 272
php
Hi guys, I need to make an authentication script in php. I have already made a login.php page, where the user can enter his unsername/password and it gets checked against a database. If the unsername/password are correct, the user should be forwarded to members.php page together with a $_SERVER['username'] variable.
What is the command in PHP to go to another webpage, in this case members.php ?
in pseudocode I see it like this:
if ( unsername/password are OK ) { $_SERVER['username'] = $username; goto(members.php); }
Thanks!
© Stack Overflow or respective owner