RE: [PHP-WIN] Re: Can not execute exes from php

2004-05-29 Thread Svensson, B.A.T. (HKG)
That is not a good solution - that way anybody can execute anything, from anywhere. If you uses ISS, then you can let certain pages run as certain user. Let the page that needs to do the shell execution run as a user that can run cmd.exe. Don't ask me how this is done with apache since I don't kno

[PHP-WIN] Re: Can not execute exes from php

2004-05-29 Thread venkata ramana
After two days of google search and some other trials, I found the problem. I have to give execute permissions to %SystemRoot%/System32/cmd.exe for the user IUSR_sytemname, for getting those commands executed. regards, ramana, On Sat, 29 May 2004 14:12:33 +0530, venkata ramana <[EMAIL PROTECTED]>

[PHP-WIN] Can not execute exes from php

2004-05-29 Thread venkata ramana
Hi, Whenever I try to execute an exe file from a php program, I am getting an error saying "Warning: shell_exec(): Unable to execute '..'. I am using IIS 6.0 in windows server 2003. It is showing the same error even when I try to execute simple command like 'dir'. Please help me by tellin