Help with command system and argument htpasswd
| From: | Ing. Oswaldo Peñaloza C. | Date: | Tue, 28 Oct 2003 12:49:16 +0000 |
| Subject: | Help with command system and argument htpasswd | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356752@lists.php.net to get a copy of this message | ||
I use the next command
+---------------
if (system("/usr/bin/htpasswd -b /home/var/key_file $user1 $clave1")) {
echo "Update File"; } else {
echo "Error !!"; }
+-----------------
This work very good in other system (RedHat 7.2), but don't understand why
don't work in my new server Linux Redhat ver 9.0 with PHP 4.2.2 and Apache
2.0.