On Fri, 15 Nov 2002 10:58:06 -0500, [EMAIL PROTECTED] (Brennan Mann) wrote:
$param=escapeshellcmd($param); system("program.exe $param"); >I am sorry. I forgot to add that the CGI uses the get method to receive >data. >For example "my_cgi.exe?=1000" >The system("my_cgi.exe") call worked. But I still need to pass data to the >exe. Any suggestions? > >Thanks again! > >Brennan > >"Brennan Mann" <[EMAIL PROTECTED]> wrote in message >news:20021115145428.12116.qmail@;pb1.pair.com... >> Hello everybody! >> >> I am new to PHP. I have several C and C++ programs that run as cgi(s). >> Currently, I am just using a form on a web page to call the cgi(s). I am >> running PHP on a Windows 2000 server with IIS. Can you call/invoke an exe >> program from a PHP script? If so, could you please show an example. >> >> Thanks for your help! >> Brennan >> >> > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php