I want my PHP script to execute an external program (which creates a file),
then php opens this file and fpassthru(..) the file to the browser.

The external exe needs a commandline arguement.  This is what I have tried:

exec("c:\\path\\to\\exe\\myProg.exe myValue=123456789");

This, along with system(...) ALWAYS returns false.

I am on Win2k, IIS, and permissions on the directory and exe are Everybody: WRX

Any ideas?

Thanks
RDB

Reply via email to