note 84656 added to function.mssql-connect
| From: | annon201 at gmail dot com | Date: | Thu, 24 Jul 2008 04:15:17 +0000 |
| Subject: | note 84656 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-142633@lists.php.net to get a copy of this message | ||
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");
----
Server IP: 117.104.160.194
Probable Submitter: 203.26.122.12
----
Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php
Edit -- https://master.php.net/note/edit/84656
Del: integrated -- https://master.php.net/note/delete/84656/integrated
Del: useless -- https://master.php.net/note/delete/84656/useless
Del: bad code -- https://master.php.net/note/delete/84656/bad+code
Del: spam -- https://master.php.net/note/delete/84656/spam
Del: non-english -- https://master.php.net/note/delete/84656/non-english
Del: in docs -- https://master.php.net/note/delete/84656/in+docs
Del: other reasons-- https://master.php.net/note/delete/84656
Reject -- https://master.php.net/note/reject/84656
Search -- https://master.php.net/manage/user-notes.php