note 78807 added to function.mssql-connect
| From: | jvermette/at/yahoo/dot/com at osu1 dot php dot net | Date: | Mon, 29 Oct 2007 07:34:13 +0000 |
| Subject: | note 78807 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131801@lists.php.net to get a copy of this message | ||
After wasting mine and a few others' time on the PHP/freeTDS -> MSDE/MSSQL connection issue,
I found this note in the main MSSQL documentation here in the php docs:
"""
Add the line:
putenv('TDSVER=70');
just before calling mssql_connect()
"""
That's the thing that fixed it in my case, nothing else was necessary.
good luck!
----
Server IP: 64.71.164.2
Probable Submitter: 76.103.139.54
----
Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php
Edit -- https://master.php.net/note/edit/78807
Del: integrated -- https://master.php.net/note/delete/78807/integrated
Del: useless -- https://master.php.net/note/delete/78807/useless
Del: bad code -- https://master.php.net/note/delete/78807/bad+code
Del: spam -- https://master.php.net/note/delete/78807/spam
Del: non-english -- https://master.php.net/note/delete/78807/non-english
Del: in docs -- https://master.php.net/note/delete/78807/in+docs
Del: other reasons-- https://master.php.net/note/delete/78807
Reject -- https://master.php.net/note/reject/78807
Search -- https://master.php.net/manage/user-notes.php