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!