you can use a session to check the authenticity of a login. if you put you login script to be something like.
<?php
session_start();
session_register("loggedin");
if ( $username == "username" && $password="password")
{
$loggedin="Y";
}
?>
Then at the top of each file put
<?php
session_start();
if ( $loggedin != "Y" )
{
header("location: loginpage.html");
exit;
}
?>
Anyone who comes through the correct login will have the loggedin variable set to Y anyone else will be told to log in.
Mark.