Re: [PHP-WIN] htpasswd question

2003-01-29 Thread metac0m
create an .htpasswd file like this: C:\Apache\bin>htpasswd -c c:\.htpasswd USERNAME Automatically using MD5 format. New password: ** Re-type new password: ** Adding password for user USERNAME If look in the .htpasswd you see that the pass is different thatn if you use crypt or md5 to e

Re: [PHP-WIN] htpasswd question

2003-01-28 Thread Dash McElroy
I would try something like this instead: $params = escapeshellarg($params); $output = system(c:\path\to\htpasswd $params); //check for output errors or what not There very well could be a better solution (especially since I have not tried the above code...). I remember seeing somewhere that the