Re: Can't get exec() to work
| From: | Marcus Haase | Date: | Thu, 12 Jun 2003 11:20:34 +0000 |
| Subject: | Re: Can't get exec() to work | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20288@lists.php.net to get a copy of this message | ||
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