RES: [PHP-DB] Problems with Oracle connections

2001-03-29 Thread Carlos Correa Goncalves
001 10:37 > Para: [EMAIL PROTECTED] > Assunto: [PHP-DB] Problems with Oracle connections > > Hi, > I'm having troubles using PHP+Oracle. > I´m under Win98, with Apache WebServer, PHP4 and Oracle. > When I try to connect, the following error message is

Re: [PHP-DB] Problems with Oracle connections

2001-03-29 Thread houston
Have you tried supplying the optional third parameter to ociplogon() to specify the connection? ociplogon( "username","password","tns_alias"); --Houston ""bgadelha"" <[EMAIL PROTECTED]> wrote in message Hi, I'm having troubles using PHP+Oracle. I´m under Win98, with Apache WebServer, PHP4 a

RE: [PHP-DB] Problems with Oracle connections

2001-03-29 Thread bgadelha
Yes, I have already done this, but it didn't work to. I tried this: putenv("ORACLE_SID=DPMM"); putenv("ORACLE_HOME=C:\orawin95"); putenv("TNS_ADMIN=C:\orawin95\NETWORK\ADMIN"); Thanks Bruno. __ O BOL é Top3 no iBest! Vot

RE: [PHP-DB] Problems with Oracle connections

2001-03-29 Thread Brian Hardwick
.ora_error(); }") -Original Message- From: bgadelha [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 8:37 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Problems with Oracle connections Hi, I'm having troubles using PHP+Oracle. I´m under Win98, with Apache WebServer, PHP4 an

[PHP-DB] Problems with Oracle connections

2001-03-29 Thread bgadelha
Hi, I'm having troubles using PHP+Oracle. I´m under Win98, with Apache WebServer, PHP4 and Oracle. When I try to connect, the following error message is displayed: Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in c:\apache\htdocs\testeoracle.php on line 24 f