Re: [PHP4BETA] ActiveX PHP?

From: Date: Fri, 17 Mar 2000 11:42:47 +0000
Subject: Re: [PHP4BETA] ActiveX PHP?
Groups: php.version4 
Request: Send a blank email to php-version4+get-12313@lists.php.net to get a copy of this message
Dave wrote: >Just out of curiosity, and to anyone that might know, how difficult would it >be to port PHP to an AxtiveX scripting engine like the jscript.dll, >vbscript.dll or PerlScript (or is there a project already started) ? > >I was thinking about this the other day and the possibilities are >interesting to say the least, to be able to do client side scripting (win32 >only I assume) with PHP4 and utilizing all the power of the available >libraries (mysql, ldap, imap, etc). I've done this before with another language (Rexx). A single person with a fairly deep understanding of COM could get a basic version of this working in a few weeks of effort. (Supporting the debug interfaces is a bit more involved). If anyone is interested, I have stashed away some sample code that I found from the Microsoft site that I found useful. Because MS is constantly reorganizing their site, it isn't always the most easiest to find... Andi wrote: >There is currently no such project it probably shouldn't be that hard >although I have no idea how the interface works. >There would be some interesting applications but I doubt these would >include connecting to a database server. You don't want to have the >database password on the clients' machine. Running inside of IE makes a powerful demo, but I agree it isn't useful for much more. But once you integrate as an ActiveScripting language, you are immediately eligible to be run from any active scripting enabled host, including the command line (CScript or WScript) or from within an ASP. These are considerably more useful. In the latter case, extra effort should probably be taken to build a sapi/asp to map PHP concepts of cookies, forms, and the like onto the ASP object model. - Sam Ruby

« previous php.version4 (#12313) next »