Hi, is there a php command to add a user to a password file? If so can you please send it to me and if not, how can I accomplish that?
I've tried using the following but it fails everytime and I can not determine why:
passthru("htpasswd -b -d /usr/home/me/password/.htpasswd username password",$retval);
The $retval variable comes back with 27 which is not an expected return value.
note, I also tried the exec as well as the system command but same result.
Any help would be great.
Thank you.
ripper@army.net