And that's about it for this week. As you can see, PHP doesn't include hooks for just Java; it also allows you to access Microsoft's COM objects (albeit only on Windows) and use these objects to do all kinds of nifty things. This article examined some of the COM components that are typically available on most systems; however, there's nothing to stop you from buying off-the-shelf components (or rolling your own) and using those components in a PHP script.
In case you're interested in learning more about PHP and COM, consider visiting the documentation on the COM support functions for Windows in the PHP manual, at
... and till next time, stay healthy!
Note: All examples in this article have been tested on Windows 95 with Apache 1.3.20 and PHP 4.1.1. Examples are illustrative only, and are not meant for a production environment. Melonfire provides no warranties or support for the source code described in this article. YMMV!
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |