note 84656 deleted from function.mssql-connect by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Dec 2008 18:58:47 +0000 |
| Subject: | note 84656 deleted from function.mssql-connect by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147846@lists.php.net to get a copy of this message | ||
Note Submitter: annon201 at gmail dot com
----
Yes! Got PHP to connect to MSSQL with NT Authentication from a WinXP box.. Followed what a previous
user said:
Set the Apache service to run as domain\username in the Windows Services Manager.
Set mssql.secure_connection to On in php.ini
and connect WITHOUT passing any credentals...
$sql = mssql_connect("server");
mssql_select_db("database");