I would suggest, that system() is only valid for command-line applications, calc.exe is a GUI-Application, so it won't work.

Please, somebody correct me if I'm wrong, this is just what I experienced.


Bill Szerdy wrote:
I am running Windows 2000 sp3, IIS5.0, PHP v4.3.2

I can't get anything to execute from the exec() function calling from a
webpage but I can get it to work from command line.

I have granted permissions to cmd.exe, copied cmd.exe to my php directory as
well as made sure safe_mode was off.

When I call exec("calc.exe") from a webpage the page hangs indefinitly until
I kill the process.

Any help would be appreciated




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to