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