Help! I am trying to run a command that starts a convert.php script from the web. I am running Windows Server 2003 with IIS, PHP 5.2.8(CLI). The upload page triggers this:
pclose(popen('run '.escapeshellarg($main->getConfig("phpcli_binary")).' -f convert.php convert '.$mid." > nul 2>&1", 'r'));
I went into my command prompt at ran:
C:\PHP\php.exe -f convert.php convert 60 > nul 2>&1
and it will convert the 60.tmpfile which was created during uploading. However, when trying to get it to run via the web isn't working and I'm not getting any errors that I know about.
At first I was getting a file or folder not found error, however when I gave IUSR_ Read & Execute access to cmd.exe that error went away and now I get no errors!
Looking for any help you can give! I have been stuck on this problem for a while now!