So the command is
/usr/bin/htpasswd -cb /usr/server/new_app/.htpasswd login password
What is the correct synthax to issue it in PHP. I am sure I am just leaving off a quote somewhere as I am using variables for login and password but maybe not.
you mean:
system('/usr/bin/htpasswd -cb /usr/server/new_app/.htpasswd login password');
or
$result = exec('/usr/bin/htpasswd -cb /usr/server/new_app/.htpasswd login password')
Jordy Querner