Re: [PHP] shell_exec, batch files, and IIS on Windows

2007-02-27 Thread Frank M. Kromann
The user that runs the php script under iis (IUSER_maschine name) should have permissions to execute the cmd.exe file, the .bat file and all the commands included in the .bat file. - Frank The manual entry for shell_exec has a comment that notes to execute .bat files with shell_exec, you

RE: [PHP] shell_exec, batch files, and IIS on Windows

2007-02-27 Thread Vincent DUPONT
: Tue 2/27/2007 22:20 To: Shu Chow Cc: php-general@lists.php.net Subject: Re: [PHP] shell_exec, batch files, and IIS on Windows The user that runs the php script under iis (IUSER_maschine name) should have permissions to execute the cmd.exe file, the .bat file and all the commands included

Re: [PHP] shell_exec, batch files, and IIS on Windows

2007-02-27 Thread Richard Lynch
On Tue, February 27, 2007 2:59 pm, Shu Chow wrote: The manual entry for shell_exec has a comment that notes to execute .bat files with shell_exec, you need to pass the command through cmd.exe with the /c argument. I was wondering if anyone could share some insight on why that is. I've

Re: [PHP] shell_exec, batch files, and IIS on Windows

2007-02-27 Thread Shu Chow
Thanks, guys, for the responses. I'll check the events and IIS logs tomorrow. This afternoon, I put the IIS user into the Administrators group, but no luck - the same exact thing, or lack of thing, happened. I told this to the IT head and he agrees that it's probably not a permissions issue.