PHP 4.0 Bug #8496 Updated: Executing external programs

From: Date: Mon, 08 Jan 2001 21:31:39 +0000
Subject: PHP 4.0 Bug #8496 Updated: Executing external programs
Groups: php.dev 
Request: Send a blank email to php-dev+get-43467@lists.php.net to get a copy of this message
ID: 8496 Updated by: cynic Reported By: grj@windows2k.dk Old-Status: Open Status: Closed Bug Type: IIS related Assigned To: Comments: from the manual: exec() executes the given command, however it does not output anything. Returns the last line of the command output on success, and false on failure. If you need to execute a command and have all the data from the command passed directly back without any interference, use the PassThru() function. both of these functions work on my machine (NT5, Apache 1.3.15-dev, php4-200101080345), if they fail on IIS, reopen. Previous Comments: --------------------------------------------------------------------------- [2000-12-30 16:06:08] grj@windows2k.dk I am using windows2000 with IIS50 and I am not able to get at output with the following commands: system exec the command gets executed på there are no output... <? system("ping www.hotbot.com"); ?> I have installed PHP as an CGI but has also tried it with php4isapi.dll same problem. I have tried different versions og PHP4 same problem... I have tried to change the rights of the IIS user same problem. I have tried to execute it at the command prompt i works output and all.... The command get executed but NO output. Kind regards Gert Jensen --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8496

« previous php.dev (#43467) next »