<?
$msserver=”vmssql02/i2″; //put your server name here
$usrname=”dpuser”; //put your MS SQL username here
$passwrd=”password”; //put your MS SQL password here
$conn=mssql_connect($msserver,$usrname,$passwrd) or die(mssql_get_last_message());
echo “Connection to $msserver was successful.\n”;
$conn=mssql_close($conn);
?>
$msserver=”vmssql02/i2″; //put your server name here
$usrname=”dpuser”; //put your MS SQL username here
$passwrd=”password”; //put your MS SQL password here
$conn=mssql_connect($msserver,$usrname,$passwrd) or die(mssql_get_last_message());
echo “Connection to $msserver was successful.\n”;
$conn=mssql_close($conn);
?>
No comments:
Post a Comment