[thelist] Running exe files from php

Josh josh at eaccessit.com
Tue Feb 4 16:02:01 CST 2003


--
[ Picked text/plain from multipart/alternative ]
Hi,

I need to run an exe file from a PHP page.  How would I do this?  I have
tried passthru("C:\path\program.exe", $results); but results always
comes back as 1.  What I am I doing wrong?

The program.exe is a simple exe program that just puts "testprogram" to
the console. Shouldn't $results come back as "testprogram"??!  PHP is
not in safemode.

Thanks,
Josh


--




More information about the thelist mailing list