I'm using the upto date download from this site as is, with all files in one folder. Here's the top section of php
include("access_user_class.php");
$my_access = new Access_user(false);
// $my_access->language = "de"; // use this selector to get messages in other languages
if (isset($_GET['activate']) && isset($_GET['ident'])) { // this two variables are required for activating/updating the account/password
$my_access->auto_activation = true; // use this (true/false) to stop the automatic activation
$my_access->activate_account($_GET['activate'], $_GET['ident']); // the activation method
}
if (isset($_GET['validate']) && isset($_GET['id'])) { // this two variables are required for activating/updating the new e-mail address
$my_access->validate_email($_GET['validate'], $_GET['id']); // the validation method
}
if (isset($_POST['Submit'])) {
$my_access->save_login = (isset($_POST['remember'])) ? $_POST['remember'] : "no"; // use a cookie to remember the login
$my_access->count_visit = false; // if this is true then the last visitdate is saved in the database (field extra info)
$my_access->login_user($_POST['login'], $_POST['password']); // call the login method
}
$error = $my_access->the_msg;