www.php.net/system
check the archives as well for questions relating to this specific issue
-jack
YoBro wrote:
>
> Hello,
>
> Is there any way to execute unix commands as though it was being done at the
> shell.
>
> I am wanting to add users to an htpasswd file.
> Usually I use at the unix shell:
>
> > htpasswd /users/jim/.htpasswd username
>
> then are prompted for the new password
>
> ie > password
>
> then are promoted again to repeat the password
>
> ie > password
>
> I am wanting to carry out this entire process using a PHP script so I don't
> have to use telnet anymore, and can then allow authorised users to change
> their own password.
>
> Please help.
>
> YoBro
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]