The uFlex class can be used to manage registrations and authenticate users with records in a MySQL database. It can perform several types of operations with registered users of a site. Currently, it can create or update registered user records, activate user accounts, reset passwords, authenticate a user and start a login session, end a login session, and automatically login. As its name implies, the class is very flexible as you can add, modify, and validate any field in the registration and updating process.
|Tags||PHP user management MySQL oop Class|
|Implementation||PHP 5+ MySQL|
Release Notes: This release optimizes the Console form entries( FieldName => Error). The field matching now returns only the second field on an error, since it is the second field that needs to match the first. On ->register() success, the new user id can immediately be accessed by ->id. By default, ->has_error() looks for errors in the last method. Now it takes one optional parameter indicating the method. Ex ->has_error("login"). A new ->getQuery() method. Global class optimization with the new ->getQuery() method. Updated ->pass_reset(). A fix for ->pass_reset() bug where the confirmation code was not stored.
Release Notes: The Object starter function (uFlex) was replaced with a PHP Object Constructor. The sid (Session ID) variable was added. Form error reporting was added when matching fields on "register" and "update" methods.
Release Notes: This release adds the activation method to the console log, adds an md5 email hash to the end of the activation hash, trims all fields on registration and update methods, and fixes some grammar and spelling typos.
Release Notes: The registration when activation is required was fixed. The built-in field matching for the registration was fixed.
Release Notes: Minor code cleanups and new detailed documentation have been added to the package.