Bug #10638: exec(), system(), ... without reply

From: Date: Thu, 03 May 2001 16:50:14 +0000
Subject: Bug #10638: exec(), system(), ... without reply
Groups: php.dev 
Request: Send a blank email to php-dev+get-53659@lists.php.net to get a copy of this message
From: sb@bpm.ch Operating system: Windows 2000 PHP version: 4.0.5 PHP Bug Type: IIS related Bug description: exec(), system(), ... without reply <?php $output = exec("echo hello"); echo "$output"; ?> ...will nothing display! (that's wrong!) <?php $output = exec("echo hello > hello.txt"); ?> ...will create a file named hello.txt with the value hello. (that's fine.) So the function exec() works properly but it gives no value back. The same problem occures in the function system() or in the backticks. I'm using Windows 2000 with IIS. -- Edit Bug report at: http://bugs.php.net/?id=10638&edit=1

« previous php.dev (#53659) next »