***********************************************************
I am trying to connect to sql server with PHP, however i recieve this warning
Warning: MS SQL message: Login failed for user 'seidelc'. Reason: Not associated with a trusted SQL Server connection. (severity 14) in header.php on line 6
***********************************************************
***********************************************************
this is my script to connect
<?
$hostname="nb-life-book-se";
$username="jerovsek\seidelc";
$password="america";
$dbname="pharma";
mssql_connect("$hostname", "$username", "$password"
or die("Connection Refused"
mssql_select_db("$dbname"
?>
***********************************************************
***********************************************************
this is the user information for pharma DB
user_name jerovsek\seidelc
login_name jerovsek\seidelc
permit in database role
public
db_owner
db_accessadmin
db_securityadmin
db_ddladmin
db_backupoperator
db_datareader
db_datawriter
***********************************************************
***********************************************************
what am I missing in configuration to authinicate jerovsek\seidel to connect to pharma?
***********************************************************
thanks
I am trying to connect to sql server with PHP, however i recieve this warning
Warning: MS SQL message: Login failed for user 'seidelc'. Reason: Not associated with a trusted SQL Server connection. (severity 14) in header.php on line 6
***********************************************************
***********************************************************
this is my script to connect
<?
$hostname="nb-life-book-se";
$username="jerovsek\seidelc";
$password="america";
$dbname="pharma";
mssql_connect("$hostname", "$username", "$password"
or die("Connection Refused"
mssql_select_db("$dbname"
?>
***********************************************************
***********************************************************
this is the user information for pharma DB
user_name jerovsek\seidelc
login_name jerovsek\seidelc
permit in database role
public
db_owner
db_accessadmin
db_securityadmin
db_ddladmin
db_backupoperator
db_datareader
db_datawriter
***********************************************************
***********************************************************
what am I missing in configuration to authinicate jerovsek\seidel to connect to pharma?
***********************************************************
thanks