Re: can php call a C executable program?

From: Date: Thu, 14 Nov 2002 12:44:21 +0000
Subject: Re: can php call a C executable program?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16945@lists.php.net to get a copy of this message
yes, I try this code follow and it work fine in my ENV (WinNt Apache 1.3.24 and PHP 4.2.3). I do not remenber well but I think to do not have to modify anything in the php.ini the code: $result = passthru("visqdos.exe $filename 2"); print_r($result); where $filename and "2" are parm of the pgm (named visqdos.exe) the same pgm link in different way: exec("visqdos.exe $filename 2"); i hope you help. Ciao Franco. David Giragosian wrote: > Howdy All, > > I have a C program that runs some queries on a MySQL db. I would like to > trigger the program's execution from a web page. Can't seem to trigger the > executable. Any thoughts/ideas/small code examples would be greatly > appreciated. > > Thanks, David > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#16945) next »