note 39010 rejected from function.odbc-connect by didou

From: Date: Wed, 14 Jan 2004 15:17:25 +0000
Subject: note 39010 rejected from function.odbc-connect by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63534@lists.php.net to get a copy of this message
Note Submitter: doomkers@lvaei.lv ---- I have problem to connect to MsSql via ODBC: i have 2 types of error 1) if I coonecting as $conn=odbc_connect($db,$user,$pass); i have this error: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'., SQL state 28000 in SQLConnect ... 2) $conn=odbc_connect("DRIVER=SQL Server;SERVER=".$ser.";UID=".$user.";PWD=".$pass."; DATABASE=".$db.";Address=".$ser.",1433","",""); this error: SQL error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length, SQL state S1090 in SQLConnect in if you can help me - please help. i Use W2k+apache 1.3.27 + PHP 4.2.3

« previous php.notes (#63534) next »