Hi Charles,
A year ago I converted our Admin system to work from the web via php5.
Install UNIDK on the webserver and put the following code inside a php page.
This will initiate the connection to the Unidata server and allow you to
talk via uniobjects.
?php
$Hostname =
We wrote a java script that basically uses UniObjects to connect to Unidata and
run a subroutine. We pass data back to the PHP program in XML format. The Java
Script is just used as the connector, one input and one output. We have a few
different UniBasic subroutines that can be called, one
:
Subject:RE: [U2] accessing U2 with PHP
From:Brian Leach
Some time ago I asked IBM whether they would be willing to publish the
UniObjects protocol
With PHP5 you can just use the PHP COM library to access UO or UO.NET from
PHP directly. It should be a LOT easier with PHP5 than
@listserver.u2ug.org
Cc: [EMAIL PROTECTED]; u2-users@listserver.u2ug.org
Subject: RE: [U2] accessing U2 with PHP
Brian,
Is the Uniobjects.Unioiafctrl libraris usable on Linux or
WIndows only?
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
Tony G [EMAIL PROTECTED]
Sent
Charles
PHP has good support for Web Services, so you could surface some UDT
functionality that way. There was also an article on DeveloperWorks on
creating a custom PHP module that exposed some of the InterCall library,
though it was a long way from a complete solution.
I also dimly remember
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach
Sent: Saturday, January 12, 2008 6:09 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] accessing U2 with PHP
Charles
PHP has good support for Web Services, so you could surface some UDT
functionality that way. There was also
From:Brian Leach
Some time ago I asked IBM whether they would be willing to publish the
UniObjects protocol
With PHP5 you can just use the PHP COM library to access UO or UO.NET from
PHP directly. It should be a LOT easier with PHP5 than PHP4. Here's an
example that I've created after a
Charles,
I don't have specific PHP classes, but I do have code published on
pickWiki to connect a PHP web page to U2:
http://www.pickwiki.com/cgi-bin/wiki.pl?U2pipe
For our web application here, I created web service subroutines on the
U2 backend, and wrote a PHP library of matching
Look at this page for several articles on PHP and U2
http://www.ibm.com/developerworks/db2/products/u2/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 3:13 PM
To: u2-users@listserver.u2ug.org