Hi, all!
When I connect to MS SQL 2000 from PHP 4.3.4, running as module of Apache, I use my Windows login and password in mssql_connect.
Php.ini:
mssql.secure_connection = On
My script is:
<?php
$mssqlhdr = mssql_connect("SRV","WinLogin","WinPassword");
If($mssqlhdr > 0)
echo 'OK!<BR>';
else
echo 'Error!<BR>';
?>
Apache return message:
mssql_connect(): message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
How I can connect to MS SQL using my Windows login and password?
Thank for any help.