Re: API

From: Date: Tue, 18 Dec 2001 07:32:05 +0000
Subject: Re: API
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-10980@lists.php.net to get a copy of this message
Hi Silverio, I think there has been some confusion about PHP. PHP.EXE is a compiler, not a library of code nor a callable DLL. So there is no callable API as such. Your question is as strange as asking how to call a C++ compiler's API. You pass a .cpp file to a C++ compiler. You pass a .php file to php.exe, and pipe the HTML output to another program. Regards, John Silverio Diquigiovanni <silverio.di@qem.it> wrote in message news:002001c18794$eee243c0$1500a8c0@us01... > From: "Ignatius Teo" <iteo@scu.edu.au> > > > If you can run php.exe from the command line, you don't need anything > else. > > Try php.exe -f myscript.php > > > From: "Silverio Diquigiovanni" <silverio.di@qem.it> > > > > > Hi to all, I've an hot question to submit you. > > > I use PHP.EXE to generate HTML page from a .PHP file in a standalone PC. > > > I love the php script language and so I don't use Jave or other similar. > > > I would to use the PHP facilities without create a file with PHP > extension > > > end so I would a mechanism to passa a string with PHP language and > obtain > > > a string with HTML code. I think PHP.EXE to do own work use a set of > > > DLL objects, but I'm not able to know the API calling to transform a PHP > > > file to an HTML file. > > > > > My goal is obtain a MemoryFileMapped(or a string) with the HTML contents > generated > by PHP API passing a MemoryFilMapped(or a string) with the PHP contents.... > in > other word I don't want use file to pass input and receive output from > PHP.EXE. > I think the better way could be use directly the API in the various DLL file > of PHP > package but I haven't the necessary documentation about..... > > Can you help me ? > Thank you.... > word >

« previous php.windows (#10980) next »