User Management Code
i have so many scripts lying around for handling users and logins. i seem never to be able to find one when i need it, and so end up constantly writing new versions.
so i’m starting a project to create a definitive version. these are the functional requirements i’m designing to:
- user details management (CRUD functionality)
- forgotten password routine
- email addresss validation through challenge/response
- storage container abstraction (PDO supported database, flat file)
- login timeout (configurable)
- remember me function
- one line site integration
- object oriented (to protect namespace)
ideally i would also introduce role management too, but i think that this opens a potential pandora’s box of complexity. so we’ll do this step by step.
since i’ll publish the code here, if anyone has any requirements to add, feel free!