Re: ODBC text
Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <[email protected]> |
Can I see the php file you created for RLIB causes the error? - bob On Tue, 2004-12-07 at 17:52 -0300, Cláudio Fortier wrote: > Hi, Bob. > > I'm using Linux RedHat 8. > > Yes the PHP standalone ODBC test works. > > The PHP RLIB example array.php works too. > > There is the RLIB configuration: > > > rlib-1.3.0: > > prefix: /usr/local > compiler: gcc > Memory debugging: no > Warning Fun: no > Crash detection: yes > UTF8 disabled: no > > INPUTS: > MYSQL: yes > POSTGRE: yes > ODBC: yes > > OUTPUTS: > PDF: yes > HTML: Always > CSV: Always > TEXT: Always > > BINDINGS: > PHP: yes > PHP entension dir: /usr/local/lib/php/extensions/no-debug-non-zts > -20020429 > PYTHON: no > PYTHON version: 2.2 > PYTHON entension dir: > JAVA: no > PERL: no > PERL entension dir: > > Music: Velvet Revolver > > Having Problems: rlib-users-TtF/[email protected] > Want to contribute: rlib-devel-TtF/[email protected] > > > > ------------------- reply --------------- > > From: bdoan-J0aWFLYJOWhWk0Htik3J/[email protected] > > To: cfortier-Clp0QaBocuhfJ/[email protected] > > Cc: [email protected] > > Subject: Re: [Rlib-users] ODBC text > > Date: 2004-12-07 10:52:16 > > ---------------------------------- > > > > 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/ > > _______________________________________________ > > 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/