ID: 10638
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: IIS related
Description: exec(), system(), ... without reply

<?php
$output = exec("any_other_program.exe");
echo "$output";
?>

...will nothing display, too.
(it's not an echo-problem!)


Previous Comments:
---------------------------------------------------------------------------

[2001-05-03 12:51:46] [EMAIL PROTECTED]
This should be fixed in 4.0.6

---------------------------------------------------------------------------

[2001-05-03 12:50:14] [EMAIL PROTECTED]
<?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.


---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=10638


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to