Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

An Phillips' Blog:
COM/.NET Interop in Zero PHP
Jan 29, 2009 @ 21:03:25

Ant Phillips looks a bit at some interoperability between the PHP and Project Zero when to comes to using the COM/.NET extension.

Zero doesn't currently support the COM/.NET extension in PHP. No matter though, there is a handy open source project called JACOB that bridges between Java and COM/.NET. In fact, there is an easier way to do this using a Groovy library called Scriptom. This is really just a friendly wrapper around JACOB to provide a better syntax for calling methods and accessing properties.

He also includes a quick introduction and howto on getting the functionality up and working in a Windows environment - download, add the JAR to your path, edit your php.ini and copy and paste some example code in to see it in action.

tagged: com net interoperability zero extension jacob scriptom

Link:


Trending Topics: