Please Help!!how to connect to a database server

From: Date: Thu, 12 Jul 2001 17:16:03 +0000
Subject: Please Help!!how to connect to a database server
Groups: php.general 
Request: Send a blank email to php-general+get-57610@lists.php.net to get a copy of this message
hi. I am a newbie. We have a database server on the network along with an IIS (MS Internet Information server)server. We have PhP installed on IIS. What would the db connection parameters look like if I wanted to connect to our DB server. The database server name is USABASE. would it be... <? $servername="Usabase"; $user="xxxx"; $pw="xxxxxxx"; mssql_connect($servername,$user,$pw) or die ("Access denied"); ?> ----- Is it alright if I just give the servername or do I need to reference the port number or IP address as well? Thank you in advance, David

« previous php.general (#57610) next »