PHP and Unix Shell

From: Date: Sat, 12 May 2001 03:48:50 +0000
Subject: PHP and Unix Shell
Groups: php.general 
Request: Send a blank email to php-general+get-52536@lists.php.net to get a copy of this message
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

« previous php.general (#52536) next »