Re: Calling exe/cgi
| From: | Brennan Mann | Date: | Fri, 15 Nov 2002 15:58:06 +0000 |
| Subject: | Re: Calling exe/cgi | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16969@lists.php.net to get a copy of this message | ||
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" <brennan@hire-experience.com> 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
>
>