I'm trying to protect a number of accounts on a Linux server using apache's Basic authentication. I'm looking for a collection of php codes to handle login, logout, creation of user names and passwords, password maintenance, etc, from a web page. My site has a number of user accounts, each of which is accessed of the form: http://site.com/name1. I've set up apache to have a directory block and an htpasswd file for each name. Each account can have multiple user names and passwords.
I currently add user names and passwords manually from the command line, via SSH, but need to enable users to do it themselves for their own account via a web page. Is there a collection of php codes that will do this for me ? I'm not conversant in sql and would like to do this as simply as possible.
Thank you in advance.