note 20999 added to function.mssql-connect

From: Date: Wed, 24 Apr 2002 21:12:07 +0000
Subject: note 20999 added to function.mssql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-29810@lists.php.net to get a copy of this message
Problems using mssql_connect with MSSQL 2000. You have to: 1 - have installed MSSQL 2000 Client on the server that run PHP. This allows to use the libraries of MSSQL. 2 - when you use mssql_connect the parameter SERVERNAME has to be SERVERNAME\INSTANCE. Ej: mssql_connect("MYSERVER\\MYINSTANCE","USER","PASWWORD") NOTE the use of \\ intead of \, because this is escape caracter. This is very important!! If you dont have configured instances on your server use as instance the name of the server. Ej: mssql_connect("MYSERVER\\MYSERVER","USER","PASWWORD") -- http://www.php.net/manual/en/function.mssql-connect.php http://master.php.net/manage/user-notes.php?action=edit+20999 http://master.php.net/manage/user-notes.php?action=delete+20999 http://master.php.net/manage/user-notes.php?action=reject+20999

« previous php.notes (#29810) next »