try this in php. put the executable in your apache/iis root dir or include
the path
$status1 = shell_exec("status.exe");
see here for more> http://www.php.net/manual/en/function.exec.php
'wo nurries'
noize
"Brennan Mann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROT
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 st
thentication in there and pass it
in the URL ... user:password@myserver etc ...
-Original Message-
From: Michael Hazelden [mailto:michael.hazelden@;ocado.com]
Sent: 15 November 2002 16:02
To: 'Brennan Mann'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: Calling exe/cgi
Open it using
t you off
after a 5 minute connection) - but that's my problem and we're dealing with
it.
Make any sense?
Michael.
-Original Message-
From: Brennan Mann [mailto:brennan@;hire-experience.com]
Sent: 15 November 2002 15:58
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Calling exe/c
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:20021115145
Try this:
echo `you_script_name.exe`;
or
system('you_script_name.exe')
>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 c