Re: PHP and Unix Shell

From: Date: Sat, 12 May 2001 04:21:23 +0000
Subject: Re: PHP and Unix Shell
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-52538@lists.php.net to get a copy of this message
dude! I have already looked there, but the examples are not clear based on what i am wanting to do. I was hoping somebody in this group has done it before so I could see some example code as to executing a statement like in my first message. "Jack Dempsey" <dempsejn@georgetown.edu> wrote in message news:3AFCB5A4.813C8665@georgetown.edu... > 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 > > -- > 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 (#52538) next »