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 even allows the PHP developer to send a series of sentences in ECL format and receive the results in XML. The java script is maybe 18 lines, and we run it on Tomcat.
This works well for getting smaller data sets to the Web, not so great for hundreds of records. Our PHP developer simply takes the returned XML and throws it into an array. With the same basic java script we can pass the name of a subroutine to call, and provide input variables from PHP (Or pretty much any language with HTTP access) Using HTTP as our transport for the XML is kind of a kludge, but has opened a lot of information to our web developers. Rick Brown Associate Director Administrative Information Services ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/