JupiterHost.Net <[EMAIL PROTECTED]> suggested: > Graeme McLaren wrote: > > How would I invoke htpasswd from a perl script? I'm thinking I'll > > need to use the system command. > > system or backticks or qx() but you'd probably be better off > with a Module: > > http://search.cpan.org/search?query=htaccess&mode=module
Better yet, use mod_auth_mysql in your Apache and manage users, groups and passwords in a database table. This should be a bit more secure than giving your web user write access to a .htpasswd file. HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>