note 50918 deleted from function.mssql-connect by nlopess

From: Date: Mon, 14 Mar 2005 15:16:56 +0000
Subject: note 50918 deleted from function.mssql-connect by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-86409@lists.php.net to get a copy of this message
Note Submitter: Dan at NOSPA dot easy-ctrl dot dot cz ---- Connecting to MSSQL with PHP5 I´m trying connect MSSQL on remote server computer thanks to: $spoj = mssql_connect ("10.2.8.2", "user", "user") or die ("Could not connect to database: ".mssql_get_last_message()); mssql_select_db("Energo",$spoj); It returns: Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: I have copied php_mssql.dll,php_dbx.dll in winnt/system32 and file ntwdblib.dll from server computer in the same directory. MSSQL server 8.0 run under win XP. Its TCP/IP port is standard 1433. I tried defining port with both comma and colon, but nothing helps. I changed setting for identification in php.ini [MSSQL] mssql.secure_connection = On It doesn´t work too. What is wrong?

« previous php.notes (#86409) next »