ID: 22662
Updated by: [EMAIL PROTECTED]
Reported By: pjaleysen at hotmail dot com
Status: Open
Bug Type: Output Control
Operating System: Windows XP
PHP Version: 4.2.3
New Comment:
How are you passing your params to shell_exec() ?
I know from personal experience, that shell_exec() requires me to load
command.com to the interpreter, such as:
print shell_exec('cmd version');
This *should* print out your windows version...
~ Andrew Heebner
Previous Comments:
------------------------------------------------------------------------
[2003-03-12 11:33:24] pjaleysen at hotmail dot com
Hi,
shell_exec(),as well as exec(),system(), can only handle 'native' DOS
applications like ping,copy,attrib etc.
either directly as a command, or though a *.bat file.
Executing other (DOS) applications like pkzip (for DOS) or (rar for
dos) don't seem to work.
There is a thread of this issue at www.devshed.com
(http://forums.devshed.com/t55038/s.html)
I am using:
-Windows XP
-Apache 1.3.27
-PHP4.3
All with the default configurations.
Kind regards
Patrick
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22662&edit=1