Use the db_class to authenticate
User authentication made easier and less of a hassle to write. Use my db_class to authenticate a user from your database, with all the options you would have if you wrote it yourself! I have also added an “Auto Start” this will start the classes you want right off the bat, saving you one line of code.
Authentication is easy to call, just use the following line.
[php]
$auth->login(‘the_user’, ‘the_password’);
[/php]
All that’s left for you is to build the form and edit the db_class file with the correct settings! Let me know how it works for you, or if you have any issues!


