$dsn, 'table' => 'auth', 'cryptType' => 'none', 'usernamecol' => 'username', 'passwordcol' => 'password'); $a = new Auth("ADOdb", $params, "loginFunction"); $a->start(); if ($a->getAuth()) { echo "Success"; // * The output of your site goes here. }