Sybase interfaces file - HELP

From: Date: Mon, 04 Dec 2000 16:37:04 +0000
Subject: Sybase interfaces file - HELP
Groups: php.windows 
Request: Send a blank email to php-windows+get-4282@lists.php.net to get a copy of this message
Hi, all Does anyone know what's the correct format of the data stored in the interfaces file (.ini) in order to connect to a Sybase DB through ODBC? My code is something like $connection = odbc_connect("CET_EXT2",$login,$pass, SQL_CUR_DEFAULT) or die ("<P><b>** COULD NOT CONNECT THE DATABASE ** </b>"); And the interfaces file (sql.ini) is like this [DS_DESENV] REM *** CONEXAO AO DB do DESENV query=NLWNSCK,desenv.dinfo.uerj.br,6000 master=NLWNSCK,desenv.dinfo.uerj.br,6000 ___________________________________________ Is the format above correct? Cause I still get the same return error Warning: SQL error: [MERANT][ODBC Sybase driver][Sybase]ct_connect(): network packet layer: internal net library error: Could not find addressing dictionary, SQL state S1000 in SQLConnect in c:\program files\iis4\inetpub\wwwroot\/login.php3 on line 42 ** COULD NOT CONNECT THE DATABASE ** ________________ Has anyone had this error before? Is there a special Sybase driver I should install in order the make this odbc function work? Thanks a lot Marcelo -- --------------------------------------------------- Marcelo Lior Sechterr EQUIPE WWW DIRETORIA DE INFORMATICA - DINFO UERJ - UNIVERSIDADE DO ESTADO DO RIO DE JANEIRO BRASIL 587-7477 r.217 mlior@uerj.br ---------------------------------------------------

« previous php.windows (#4282) next »