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

Reply via email to