From: Vincent P. <vin...@co...> - 2004-08-02 14:25:30
|
No message in the error_log and in the acces_log file i have : 192.168.201.2 - - [02/Aug/2004:16:28:10 +0200] "GET /essai.php HTTP/1.1" 200 5 The script used is : <? dl ("librlib.so"); $format = "html"; $sql_host = "localhost"; $sql_users = "xxxx"; $sql_password = ""; $sql_database = "test"; $rlib = rlib_init(); rlib_add_datasource_mysql($rlib, "mysql", $sql_host, $sql_users, $sql_password, $sql_database); rlib_add_query_as($rlib, "mysql", "select * from example", "example"); rlib_add_report($rlib, "report.xml"); rlib_set_output_format_from_text($rlib, $format); rlib_execute($rlib); header( rlib_get_content_type($rlib)); rlib_spool($rlib); rlib_free($rlib); ?> and nothing append when i called it via Internet Explorer ----- Original Message ----- From: "Bob Doan" <bd...@si...> To: "Vincent Pinget" <vin...@co...> Cc: "RLIB USERS" <rli...@li...> Sent: Monday, August 02, 2004 3:09 PM Subject: Re: [Rlib-users] Rlib and PHP > Hi, > > What's in your apache error_log/message_log and what web browser are you > testing with? > > - bob > > On Mon, 2004-08-02 at 14:22 +0200, Vincent Pinget wrote: > > Hi, > > > > I have compiled Rlib with Mysql, PHP and CPDF.. It was fine and the > > example from the documentation work fine if i lauched it from the > > command line... but i didn't success to lauch in from the explorer via > > website... > > > > works : > > shell > php report.php > > and generate a PDF > > > > DON't WORK > > http://serveur/report.php > > > > Please, could you tell me what is happening... > > > > More information : > > When i lauched via command line, there were always text file - i > > looked the source code and i saw the function r_debug ... so i put at > > the begin of the file util.h the line : > > #define DISABLERDEBUG 1 > > to desactive the output from r_debug, but it changed anything to my > > problem... > > > > Thanks for your help > > > > > > |