|
From: Bob D. <bd...@si...> - 2004-12-07 13:52:31
|
So the PHP standalone ODBC test works?
Also, when you ./configure rlib there is a screen at the end saying how
RLIB is configured. Can you send that to me
Also what distro are you using?
On Mon, 2004-12-06 at 19:32 -0300, Cl=C3=A1udio Fortier wrote:
> Hi Bob, thanks for your response.
>=20
> I really need access ORACLE, but rlib have no native access for it. Bec=
ause 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=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=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 real u=
sers.
> > > Discover which products truly live up to the hype. Start reading no=
w.=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 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
|