Re: [U2] accessing U2 with PHP

2008-01-14 Thread Steve Morley
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 =

RE: [U2] accessing U2 with PHP

2008-01-14 Thread Brown, Rick (brownri)
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

RE: [U2] accessing U2 with PHP

2008-01-14 Thread Charles_Shaffer
: 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

RE: [U2] accessing U2 with PHP

2008-01-14 Thread Brian Leach
@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

RE: [U2] accessing U2 with PHP

2008-01-12 Thread Brian Leach
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

RE: [U2] accessing U2 with PHP

2008-01-12 Thread David Murray
: [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

RE: [U2] accessing U2 with PHP

2008-01-12 Thread Tony G
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

Re: [U2] accessing U2 with PHP

2008-01-11 Thread Rex Gozar
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

RE: [U2] accessing U2 with PHP

2008-01-11 Thread David Wolverton
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