Embed PHP as a scripting language of windows application

php.internals

John Lim

23 years ago
Hello, I'm writing some windows apps that require a scripting language to control various info. Has anyone had any experience or source code showing how to embed PHP as a scripting language for a windows app? I'm sure there's some neat way to link to php4ts.dll and pass a script to it. Thanks again. John

George Schlossnagle

23 years ago
I have no win32 experience, but you should look at the embed SAPI. George On Wednesday, June 25, 2003, at 07:35 AM, John Lim wrote:
> Hello, > > I'm writing some windows apps that require a scripting language to > control > various info. Has anyone had any experience or source code showing how > to > embed PHP as a scripting language for a windows app? I'm > sure there's some neat way to link to php4ts.dll and pass a script to > it. > > Thanks again. John > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
-- George Schlossnagle -- Principal Consultant -- OmniTI Computer Consulting, Inc. -- +1.410.872.4910 x202 -- 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0

Alan Knowles

23 years ago
This gives some clues.. http://devel.akbkhome.com/talks/gtk_to_desktop.html (its focused on a bootstrapper for php-gtk apps, but the embed SAPI stuff is relivant. - and works on win32) Regards Alan George Schlossnagle wrote:
> I have no win32 experience, but you should look at the embed SAPI. > > George > > On Wednesday, June 25, 2003, at 07:35 AM, John Lim wrote: > >> Hello, >> >> I'm writing some windows apps that require a scripting language to >> control >> various info. Has anyone had any experience or source code showing how to >> embed PHP as a scripting language for a windows app? I'm >> sure there's some neat way to link to php4ts.dll and pass a script to it. >> >> Thanks again. John >> >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > -- George Schlossnagle > -- Principal Consultant > -- OmniTI Computer Consulting, Inc. > -- +1.410.872.4910 x202 > -- 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0 > >
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

Oscar Rylin

23 years ago
Something that would be interesting would be to make it possible to use PHP with the WSH (Windows Scripting Host).. I'm not sure if it's doable, but it sure would be nice :) Python, perl, vbscript, javascript etc. work with the WSH.. It'd be cool to include PHP in that list :P -- oscar John Lim wrote:

Derick Rethans

23 years ago
On Wed, 25 Jun 2003, Oscar Rylin wrote:
> Something that would be interesting would be to make it possible to use > PHP with the WSH (Windows Scripting Host).. > I'm not sure if it's doable, but it sure would be nice :) > > Python, perl, vbscript, javascript etc. work with the WSH.. It'd be cool > to include PHP in that list :P
Already works, there is the ActiveScripts SAPI in the download. Derick
-- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

John Lim

23 years ago
Thanks for all the answers everyone. I will look into ActiveScripts. Looks interesting. "Derick Rethans" <derick@php.net> wrote in message news:Pine.LNX.4.53.0306251706230.2213@jdi.jdimedia.nl...