[DUG] Processing PHP inside a Delphi ISAPI dll

Phil Middlemiss phil at tumonz.co.nz
Wed Aug 9 08:42:21 NZST 2006


Yes, PHP4Delphi lets you execute a php script inside your app, but it 
requires you to register all the variables that may be in the script. 
Alternatively you can write a PHP extension in Delphi by using 
PHP4Delphi. Neither is what I am after.

I was after a way to use an ISAPI dll as per usual, processing <#> tags, 
but then process the result through the PHP engine to execute any PHP 
script in the files. I could set up a proxy and use temporary files, but 
I would rather find a cleaner way.

Cheers,
Phil.

Todd Martin wrote:
> Not sure exactly what you're trying to do. Have you looked at PHP4Delphi?
>
>
> ----- Original Message ----- From: "Phil Middlemiss" <phil at tumonz.co.nz>
> To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
> Sent: Tuesday, August 08, 2006 2:54 PM
> Subject: [DUG] Processing PHP inside a Delphi ISAPI dll
>
>
>> Hi all,
>>
>> anyone know how I can process PHP code from within an ISAPI dll in
>> conjunction with a TPageProducer? I thought that setting the
>> TPageProducer.ScriptEngine to 'PHP' might do it, but it doesn't. Any 
>> ideas?
>>
>> Cheers,
>> Phil.
>>
>
>
> -------------------------------------------------------------------------------- 
>
>
>
>> _______________________________________________
>> Delphi mailing list
>> Delphi at ns3.123.co.nz
>> http://ns3.123.co.nz/mailman/listinfo/delphi
>>
>
>
> -------------------------------------------------------------------------------- 
>
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 2/08/2006
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phil.vcf
Type: text/x-vcard
Size: 250 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060809/603fc211/phil.vcf


More information about the Delphi mailing list