In the add.php file down toward the bottom and just after
add the following:Code:// -------------- // main program // --------------
Code:// mod $users_obj = new clsUsers; $users_obj->InitDB($dbServer,$dbHostname,$dbUsername,$dbPassword,$dbName); $users_obj->table_name = "idx_users"; if(!$users_obj->GetUserAuthentication()==0){ $back_url = urlencode("add.php?cat=$cat"); header("Location: login.php?f=1&b=$back_url"); }


, I changed the original to show the file ( add.php )
