[PHP] Automate the apache authentication process

2001-01-29 Thread david klein
I am using apache authentication. The problem is: I want the user to be able to get registered throught the web GUI, and all the users' password and userID will be kept in the database. In my mind, I can use php later to get all these userID/password, and run the apache htpasswd to register

RE: [PHP] Automate the apache authentication process

2001-01-29 Thread Jason Murray
However, Apache htpasswd is an interactive program and we need manually input the password, is there a way to automate and batch process this using php scripts? [jason@phpdev htdocs]$ /usr/local/apache/bin/htpasswd --help Usage: htpasswd [-cmdps] passwordfile username