From: Bob D. <bd...@si...> - 2004-12-07 21:15:29
|
Can I see the php file you created for RLIB causes the error? - bob On Tue, 2004-12-07 at 17:52 -0300, Cl=C3=A1udio Fortier wrote: > Hi, Bob. >=20 > I'm using Linux RedHat 8. >=20 > Yes the PHP standalone ODBC test works. >=20 > The PHP RLIB example array.php works too. >=20 > There is the RLIB configuration: >=20 >=20 > rlib-1.3.0: >=20 > prefix: /usr/local > compiler: gcc > Memory debugging: no > Warning Fun: no > Crash detection: yes > UTF8 disabled: no >=20 > INPUTS: > MYSQL: yes > POSTGRE: yes > ODBC: yes >=20 > OUTPUTS: > PDF: yes > HTML: Always > CSV: Always > TEXT: Always >=20 > BINDINGS: > PHP: yes > PHP entension dir: /usr/local/lib/php/extensions/no-debu= g-non-zts > -20020429 > PYTHON: no > PYTHON version: 2.2 > PYTHON entension dir: > JAVA: no > PERL: no > PERL entension dir: >=20 > Music: Velvet Revolver >=20 > Having Problems: rli...@li... > Want to contribute: rli...@li... >=20 >=20 >=20 > ------------------- reply --------------- > > From: bd...@si... > > To: cfo...@ib... > > Cc: rli...@li... > > Subject: Re: [Rlib-users] ODBC text > > Date: 2004-12-07 10:52:16 > > ---------------------------------- > >=20 > > So the PHP standalone ODBC test works? > >=20 > > Also, when you ./configure rlib there is a screen at the end saying h= ow > > RLIB is configured. Can you send that to me > >=20 > > Also what distro are you using? > >=20 > > On Mon, 2004-12-06 at 19:32 -0300, Cl=C3=83=C2=A1udio Fortier wrote: > > > Hi Bob, thanks for your response. > > >=20 > > > I really need access ORACLE, but rlib have no native access for it.= Because this, i'm trying use unixODBC. > > >=20 > > > unix ODBC works fine with the folow script: > > > <html> > > > <body> > > >=20 > > > <?php > > > $conn=3Dodbc_connect('oracle','u_test','u_test');=20 > > > if (!$conn) > > > { > > > exit("Connection Failed: " . $conn);=20 > > > }=20 > > > $sql=3D"SELECT * FROM TEN_PAC_PACIENTE";=20 > > > $rs=3Dodbc_exec($conn,$sql);=20 > > > if (!$rs) > > > {=20 > > > exit("Error in SQL"); > > > }=20 > > > echo "<table><tr>"; > > > echo "<th>C=C3=83=C2=B3digo</th>"; > > > echo "<th>Nome</th></tr>"; > > > while (odbc_fetch_row($rs)) > > > { > > > $CODIGO=3Dodbc_result($rs,"PAC_PK_INT_CODIGO"); > > > $NOME=3Dodbc_result($rs,"PAC_CHR_NOME"); > > > echo "<tr><td>$CODIGO</td>"; > > > echo "<td>$NOME</td></tr>"; > > > } > > > odbc_close($conn); > > > echo "</table>"; > > > ?> > > >=20 > > > </body> > > > </html> > > >=20 > > > ------------------- reply --------------- > > > > From: bd...@si... > > > > To: for...@ya... > > > > Cc: rli...@li... > > > > Subject: Re: [Rlib-users] ODBC text > > > > Date: 2004-12-06 14:41:30 > > > > ---------------------------------- > > > > I haven't used it since I wrote it > > > >=20 > > > > does any other app work w/ the unixodbc?? > > > >=20 > > > > - bob > > > >=20 > > > > On Mon, 2004-12-06 at 08:41 -0300, Claudio Fortier wrote: > > > > > Hi, i'm trying use rlib with unixodbc and PHP in linux > > > > > rh8. Someone has used rlib with unixodbc? I need > > > > > examples.=20 > > > > >=20 > > > > > My tests every returns the message "The connection was > > > > > refused when attenpting to contact www.localhost.com" > > > > >=20 > > > > > Please, help me.=20 > > > > >=20 > > > > >=20 > > > > > =09 > > > > > =09 > > > > > =09 > > > > > _______________________________________________________=20 > > > > > Yahoo! Mail - Agora com 250MB de espa=C3=83=C6=92=C3=82=C2=A7o = gratuito. Abra=20 > > > > > uma conta agora! http://br.info.mail.yahoo.com/ > > > > >=20 > > > > >=20 > > > > > ------------------------------------------------------- > > > > > SF email is sponsored by - The IT Product Guide > > > > > Read honest & candid reviews on hundreds of IT Products from re= al users. > > > > > Discover which products truly live up to the hype. Start readin= g now.=20 > > > > > http://productguide.itmanagersjournal.com/ > > > > > _______________________________________________ > > > > > Rlib-users mailing list > > > > > Rli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > >=20 > > > >=20 > > > >=20 > > > > ------------------------------------------------------- > > > > SF email is sponsored by - The IT Product Guide > > > > Read honest & candid reviews on hundreds of IT Products from real= users. > > > > Discover which products truly live up to the hype. Start reading = now. > > > > http://productguide.itmanagersjournal.com/ > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > >=20 > > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real use= rs. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > >=20 >=20 |