[phplib] Database Problem From: Murthy (raman_mogal <email protected>)
Date: 03/17/01

Hello,
            When i am accessing the file in which i have just written the coed to link to database it is giving me error like this.
 
Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in
c:/www/phplib/php/db_oracle.inc on line 48
Database error: connect() Link-ID == false (), ora_plogon failed
Oracle Error: 0 ()
Session halted.

I have given the parameters for the database as

  var $Host = "localhost";
                database is oracle and it is installed in my system.
  var $Database = "horde";
                I have created the DSN as horde.
  var $User = "horde";
                I have created the user as horde
  var $Password = "horde";
                I have given the password as horde

            Are these values i have given for the parameters are right or not.Why it is giving me the error.CAn any one please help me....
Thanks in advance
Murthy.