Zend - The PHP Company




Code Gallery: jochems


Make .htpasswd  

Type: code fragment
Added by: jochems
Entered: 22/04/2001
Last modified: 04/12/2000
Rating: **** (6 votes)
Views: 12167
If you are making a admin tool for your site you can add all the users into a table called e.g. "users" and automaticaly generate a .htpasswd file from it. This function uses MD5 encryption.




Search