Re: Re: Calling DLL from PHP

From: Date: Wed, 18 Sep 2002 14:58:42 +0000
Subject: Re: Re: Calling DLL from PHP
Groups: php.windows 
Request: Send a blank email to php-windows+get-15887@lists.php.net to get a copy of this message
If your program is called "myprogram.exe", and it has a command-line interface that you've tested and works, then you could do this: 1) put "myprogram.exe" in your system path (typically c:\winnt\system32 or something similar) 2) call it from your php code with either exec(), system(), or passthru() http://www.php.net/manual/it/ref.exec.php http://www.php.net/manual/it/function.system.php http://www.php.net/manual/it/function.passthru.php -- Brian 'Bex' Huff bex@stellent.com Phone: 952-903-2023 Fax: 952-829-5424 > Brian hanks for all and sorry if I trouble you again. > > I ask a litle help if you wnat and if you have time for me. > > thanks for this and sorry again for the trouble. > > I want use a external pgm (.exe file) from my script PHP. > > My env it it Win32 NT Apache 1.3.24 and PHP 4.2.1. > > I have find same sample but ONLY in the Linux or Unix system. Not in > Win32. > > I have try to execute same sample in my env but It do not work. > > I ask you if you have same code and same sample for me. > > Have you same idea how to do. > > thanks for all. Ciao franco. >

« previous php.windows (#15887) next »