note 36956 added to function.system
| From: | opc at andired dot net | Date: | Tue, 28 Oct 2003 21:59:13 +0000 |
| Subject: | note 36956 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59438@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, 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.
----
Manual Page -- http://www.php.net/manual/en/function.system.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36956
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36956&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36956&report=yes
Search -- http://master.php.net/manage/user-notes.php