Re: PHP and Unix Shell

From: Date: Sat, 12 May 2001 04:01:40 +0000
Subject: Re: PHP and Unix Shell
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52537@lists.php.net to get a copy of this message
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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#52537) next »