<?

// set variables
$errorpage = "http://www.your-domain.co.uk/error.htm";

$combine = $username . $password;

// In the form, if surfer puts in User1 for the username and One for the password:
if(strstr($combine,"User1One")) {
// they get directed to this page:
include ("directory1/index.htm");

// In the form, if surfer puts in User1 for the username and One for the password:
} else if(strstr($combine,"User2Two")) {
// they get directed to this page:
include ("directory2/index.htm");

// In the form, if surfer puts in User1 for the username and One for the password:
} else if(strstr($combine,"User3Three")) {
// they get directed to this page:
include ("directory3/index.htm");

// Wrong usernmae/password combo, they get directed to a custom error page:
} else { Header("Location: $errorpage");
exit; }
?>


Qui la password di accesso dove la devo mettere?