From: Andrew C. <And...@So...> - 2003-10-29 20:22:22
|
Caught one other thing that may be helpful.... dl ("libr.so"); is dl ("libr-php.so"); on my test script..... Andrew -----Original Message----- From: rli...@li... [mailto:rli...@li...]On Behalf Of John Buckman Sent: Wednesday, October 29, 2003 2:56 PM To: rli...@li... Subject: [Rlib-users] debugging php rlib & other thoughts I have rlib working on my linux system, with the C code, but not with PHP. I tried the PHP example, and also mimicking my working C code in PHP, namely like this: <? error_reporting(E_ALL); dl ("libr.so"); $r = rlib_init(); rlib_add_datasource_mysql($r, "local_mysql", "localhost", "root", "xxxxx", "magnatune"); rlib_add_query_as($r, "local_mysql", "select * from visa;", "example"); rlib_add_report($r, "report.xml", "example"); rlib_set_output_format($r, "html"); rlib_execute($r); rlib_finalize($r); header(rlib_get_content_type($r)); rlib_spool($r); ?> |