#26023 [Opn->Bgs]: System Don't Work

From: Date: Thu, 30 Oct 2003 00:56:09 +0000
Subject: #26023 [Opn->Bgs]: System Don't Work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49644@lists.php.net to get a copy of this message
ID: 26023 Updated by: iliaa@php.net Reported By: opc at andired dot net -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Red Hat 9.0 PHP Version: Irrelevant New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is likely to be htpasswd problem. Previous Comments: ------------------------------------------------------------------------ [2003-10-28 17:32:08] opc at andired dot net Description: ------------ 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. Reproduce code: --------------- if (system("/usr/bin/htpasswd -b /home/var/key_file $user1 $clave1")) { echo "Update File"; } else { echo "Error !!"; } Expected result: ---------------- Print in the screen "Update File" Actual result: -------------- Print in the screen "Error" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26023&edit=1

« previous php.bugs (#49644) next »