Il fatto è che member.php nn è una pagina ma solo delle variabili.

Te la posto che faccio prima:

<?

// set variables
$errorpage = "http://www.miosito.com/error.htm";

$combine = $username . $password;

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

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


Tralasciando commenti sullo script che uso come protezione (so che fa schifo ma è facile da mettere ),
come posso fare x la mia pagina protetta?