Hi!

I think you can skip the database but you must use session in order to check the login thing. One simple example:

PHP Code:
//Suppose we already have the password and username for admin then
// We do the following and set a session as admin.

if ($username == $_POST[username] || $password == $_POST[password])
{
     
$_SESSION["loggedin"] = "true";
     
$_SESSION["usertype"] = "admin";

Hope this gives some idea. I am not sure weather it'll work or not but oh well it might give you hint what i am trying to say here!

Thansk!