note 89271 modified in function.mssql-connect by danbrown

From: Date: Sun, 01 Mar 2009 00:40:31 +0000
Subject: note 89271 modified in function.mssql-connect by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151277@lists.php.net to get a copy of this message
After a great deal of testing various things I finally found a solution for connecting to a named instance of MS SQL Express. I first had to download version 200.80.194.0 of ntwdblib.dll and overwrite the existing version in c:\PHP. I then tried an instance name that was posted by "chop_01 at yahoo dot com" in this thread. The instance name is ".\SQLEXPRESS". For example: <?php $dbconnect = mssql_connect(".\SQLEXPRESS", $dbUser, $dbPass); ?> --was-- After a great deal of testing various things I finally found a solution for connecting to a named instance of MS SQL Express. I first had to download version 200.80.194.0 of ntwdblib.dll and overwrite the existing version in c:\PHP. I then tried an instance name that was posted by "chop_01 at yahoo dot com" in this thread. The instance name is ".\SQLEXPRESS". For example: $dbconnect = mssql_connect(".\SQLEXPRESS", $dbUser, $dbPass); http://php.net/manual/en/function.mssql-connect.php

« previous php.notes (#151277) next »