ID:               34104
 Updated by:       [EMAIL PROTECTED]
 Reported By:      superli_1980 at Hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Windows 2003
 PHP Version:      4.3.11
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




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

[2005-08-12 18:04:48] superli_1980 at Hotmail dot com

Description:
------------
system(), exec() cann't hadle directory with space

Reproduce code:
---------------
$PHP_BIN="\"E:\\Program Files\\PHP\\php.exe\" ";
$PHP_SCRIPT="\"E:\\Program Files\\Apache
Group\\Apache2\\htdocs\\test.php\" ";
var_dump($PHP_BIN.$PHP_SCRIPT);
system($PHP_BIN.$PHP_SCRIPT);




Expected result:
----------------
"E:\Program Files\PHP\php.exe" "E:\Program Files\Apache
Group\Apache2\htdocs\test.php"

using php.exe excute the code in test.php

Actual result:
--------------
'E:\Program' bad command ...


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


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

Reply via email to