I've setup a simple php script that authenticates to an ldap server then displays information in our unidata db on a webpage. The webpage gets updated about every 5 min.
Currently to do this I've setup a cronjob to run a unibasic subroutine that lists data in the db to a file and then ftp's the file to the webserver. From there I've scheduled another cronjob that inserts the file into a mysql database. Finally I use the Ajax method with a simple timed script to refresh the data on the page every few minutes.
While this may work, it is very convoluted. I've read about the PDO_IBM mod for php, but my question is, does anyone have any helpful tips on how to actually do it or any words of wisdom. If I could I'd like to stick with php. Someone mentioned using JDBC and uniobjects to connect to the unidata db through the unirpc port, I haven't looked into that though.
thanks.
Currently to do this I've setup a cronjob to run a unibasic subroutine that lists data in the db to a file and then ftp's the file to the webserver. From there I've scheduled another cronjob that inserts the file into a mysql database. Finally I use the Ajax method with a simple timed script to refresh the data on the page every few minutes.
While this may work, it is very convoluted. I've read about the PDO_IBM mod for php, but my question is, does anyone have any helpful tips on how to actually do it or any words of wisdom. If I could I'd like to stick with php. Someone mentioned using JDBC and uniobjects to connect to the unidata db through the unirpc port, I haven't looked into that though.
thanks.