I recently came to know that PHP 5 supports COM controls meaning that you can instantiate a registered DLL on your system and call it’s function and perform stuff. So, I decided to put it to test and see if I am able to use Siebel COM Data Controls in PHP.
A quick setup with WAMP, CodeIgniter and Bootstrap got me running and here is the very first thing I created with this: “Server Component Monitoring Screen”
Now some of you may ask why did I need to do that, Siebel already provides a screen for this. Well, since we moved to Siebel patch 18.104.22.168 the only way to access the components was either through command line srvrmgr command or dedicated client, as this patch had conflict with Siteminder/S3 authentication we were using for our environments.
Here is the code snippet I used to connect to Siebel.
I store the connection details in a MySQL DB and retrieve then while making connection. The code is self explanatory and the only tricky part in it is creating the connection string.
I will be more than happy to answer any questions or comments you might have.So, what are you waiting for bring it on !!!