Re: ODBC text

Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
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áudio Fortier wrote:
> Hi Bob, thanks for your response.
> 
> I really need access ORACLE, but rlib have no native access for it. Because this, i'm trying use unixODBC.
> 
> unix ODBC works fine with the folow script:
> <html>
> <body>
> 
> <?php
> $conn=odbc_connect('oracle','u_test','u_test'); 
> if (!$conn)
> {
> exit("Connection Failed: " . $conn); 
> } 
> $sql="SELECT * FROM TEN_PAC_PACIENTE"; 
> $rs=odbc_exec($conn,$sql); 
> if (!$rs)
> { 
> exit("Error in SQL");
> } 
> echo "<table><tr>";
> echo "<th>Código</th>";
> echo "<th>Nome</th></tr>";
> while (odbc_fetch_row($rs))
> {
> $CODIGO=odbc_result($rs,"PAC_PK_INT_CODIGO");
> $NOME=odbc_result($rs,"PAC_CHR_NOME");
> echo "<tr><td>$CODIGO</td>";
> echo "<td>$NOME</td></tr>";
> }
> odbc_close($conn);
> echo "</table>";
> ?>
> 
> </body>
> </html>
> 
> ------------------- reply ---------------
> > From: bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]
> > To: fortierbr-/E1597aS9LRfJ/[email protected]
> > Cc: [email protected]
> > Subject: Re: [Rlib-users] ODBC text
> > Date: 2004-12-06 14:41:30
> > ----------------------------------
> > I haven't used it since I wrote it
> > 
> > does any other app work w/ the unixodbc??
> > 
> > - bob
> > 
> > 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. 
> > > 
> > > My tests every returns the message "The connection was
> > > refused when attenpting to contact www.localhost.com"
> > > 
> > > Please, help me. 
> > > 
> > > 
> > > 	
> > > 	
> > > 		
> > > _______________________________________________________ 
> > > Yahoo! Mail - Agora com 250MB de espaço gratuito. Abra 
> > > uma conta agora! http://br.info.mail.yahoo.com/
> > > 
> > > 
> > > -------------------------------------------------------
> > > 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
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/rlib-users
> > 
> > 
> > 
> > -------------------------------------------------------
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/rlib-users
> > 
> 



-------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.