With this class you can easely create a login page that checks the data in a XML , CSV or database table. The power of the script lays in that you can use it on every MySQL database table even on existing tables from other software packages like Wordpress, Mediawiki, MantisBt, ..... This is because you can define a custom password encryption function, user and password field. The combination of this functionalities makes it a universal usable class.
I created this class because most of my clients just need a simple login form without other advanced features like user roles and so on.
password_hash = md5(password . "-" . salt);
$Login = new Login();
$Login->InitDatabase("localost", "dbuser", "dbpass", "dbname", "user_table", "user_field", "pass_field");