Quick method for adding multiple usernames and password to htaccess
Monday, December 11th, 2006Ever had to add hundreds or even thousands of usernames to a htaccess file at once? Although rare this problem has come up for me recently (strangely enough with the same password as the username - obviously not a secure method but something that was necessary for the project).
The solution I created for this problem is htpmake, essentially a PHP script that takes a text file and outputs a file that of usernames and passwords you can use with your htaccess file.