I'm new to PHP and would like to create a script to register users with login names and passwords for my site. I would also like to be able to create these new users in PHP using .htaccess. Does anyone know how I can pass the username and password to htpasswd using PHP? I'm using a server which does not allow me to use the -b flag with htpasswd. Thanks for your help!
get your host to let you use the -b switch, otherwise read the source to htpasswd, figure out how it works and replicate that in php (no small feat, but not that huge really).