note 74404 added to ref.mssql
| From: | deyura at gmail dot com | Date: | Tue, 10 Apr 2007 10:05:19 +0000 |
| Subject: | note 74404 added to ref.mssql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125257@lists.php.net to get a copy of this message | ||
FreeTDS is work!!!
But after install you shoul add in config file
1. Add in freetds.conf client cahrset:
[TDS_NAME_TO_CONNECT]
host = 192.168.0.1
port = 1433
tds version = 8.0
client charset = CP1251
2. For datetime add in locales.conf in [default]:
date format = %Y-%m-%d %I:%M:%S.%z
3. restart apache
4. In your php-script you should connect to [TDS_NAME_TO_CONNECT]
mssql_connect('TDS_NAME_TO_CONNECT', 'php', '123');
----
Server IP: 69.147.83.197
Probable Submitter: 195.182.207.198
----
Manual Page -- http://www.php.net/manual/en/ref.mssql.php
Edit -- https://master.php.net/note/edit/74404
Del: integrated -- https://master.php.net/note/delete/74404/integrated
Del: useless -- https://master.php.net/note/delete/74404/useless
Del: bad code -- https://master.php.net/note/delete/74404/bad+code
Del: spam -- https://master.php.net/note/delete/74404/spam
Del: non-english -- https://master.php.net/note/delete/74404/non-english
Del: in docs -- https://master.php.net/note/delete/74404/in+docs
Del: other reasons-- https://master.php.net/note/delete/74404
Reject -- https://master.php.net/note/reject/74404
Search -- https://master.php.net/manage/user-notes.php