note 71876 added to ref.mssql
| From: | be_misc_01 at flowbuzz dot com | Date: | Wed, 20 Dec 2006 21:06:20 +0000 |
| Subject: | note 71876 added to ref.mssql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120802@lists.php.net to get a copy of this message | ||
Couple of notes:
When setting this up, you might notice that the unixODBC isql command likes the password wrapped in
single quotes:
isql -v MyDSN MyUserID 'MyPa$$W0rd'
Additionally, if you happen to have a dollar-sign in your password (or username, or DSN) -- you must
avoid using double quotes. This is a normal PHP gotcha, but worth mentioning.
Won't work:
$con = mssql_connect ("MyDSN", "MyUserID", "MyPa$$W0rd");
Will work (single quotes):
$con = mssql_connect ("MyDSN", "MyUserID", 'MyPa$$W0rd');
----
Server IP: 82.165.230.124
Probable Submitter: 198.232.211.130 (proxied: 1.1 APISA02)
----
Manual Page -- http://www.php.net/manual/en/ref.mssql.php
Edit -- https://master.php.net/note/edit/71876
Del: integrated -- https://master.php.net/note/delete/71876/integrated
Del: useless -- https://master.php.net/note/delete/71876/useless
Del: bad code -- https://master.php.net/note/delete/71876/bad+code
Del: spam -- https://master.php.net/note/delete/71876/spam
Del: non-english -- https://master.php.net/note/delete/71876/non-english
Del: in docs -- https://master.php.net/note/delete/71876/in+docs
Del: other reasons-- https://master.php.net/note/delete/71876
Reject -- https://master.php.net/note/reject/71876
Search -- https://master.php.net/manage/user-notes.php