You could always use sessions. If the user name and password match the db entry then declare a variable that states the user is authenticated using the session_register function. In the admin script just write something like:
if(!isset($_SESSION[authed])){
code here to deny access
exit();
}
And put it at the top of the file. But make sure that before you use a method like this you MUST first use the session_start function.
Check the PHP manual and php.net, it explains everything you need to know.
I hope that helps! It should eliminate your concern about people hacking thier way in.