ID:               37219
 Updated by:       [EMAIL PROTECTED]
 Reported By:      egingell at sisna dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: Unix w/ Apache 1.3.33
 PHP Version:      4.4.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Can't reproduce


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

[2006-04-27 08:16:49] egingell at sisna dot com

Description:
------------
Description is in the code snippit. It's possible that the problem lies
with Apache 1.3.33.

Reproduce code:
---------------
<?

/* I don't know if it's a bug in Dreamhost's PHP 4.4.2 or a bug in
Apache or what, but the following produces no output. */

echo shell_exec("mkdir -v 'fakedir';rmdir -v 'fakedir'");

/* While executig "mkdir -v 'fakedir';rmdir -v 'fakedir'" at the
command line gives the following: */

/* mkdir: created directory `fakedir' */
/* rmdir: removing directory, fakedir */

/* This line produces the correct output. */ echo shell_exec("touch
'fakefile';rm -v 'fakefile'");

/* removed `fakefile' */

?>


Expected result:
----------------
Expected results are in the code snippit.

Actual result:
--------------
Actual results are in the code snippit.


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


-- 
Edit this bug report at http://bugs.php.net/?id=37219&edit=1

Reply via email to