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

From: Date: Thu, 03 May 2001 16:51:46 +0000
Subject: Bug #10638 Updated: exec(), system(), ... without reply
Groups: php.dev 
Request: Send a blank email to php-dev+get-53660@lists.php.net to get a copy of this message
ID: 10638 Updated by: andi Reported By: sb@bpm.ch Old-Status: Open Status: Closed Bug Type: IIS related PHP Version: 4.0.5 Assigned To: Comments: This should be fixed in 4.0.6 Previous Comments: --------------------------------------------------------------------------- [2001-05-03 12:50:14] sb@bpm.ch <?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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10638&edit=2

« previous php.dev (#53660) next »