note 46224 added to ref.mssql
| From: | mworku at yahoo dot com | Date: | Sun, 03 Oct 2004 04:49:48 +0000 |
| Subject: | note 46224 added to ref.mssql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77775@lists.php.net to get a copy of this message | ||
If you want to utilize the freetds.conf file db parameters within
mssql_connect() function
<?
putenv('FREETDSCONF=/etc/freetds.conf');
/*
mssql_connect('MSSQL_8.0' , 'user' , 'pwd');
....
....
*/
?>
FreeTDS conf file
[MSSQL_8.0]
host = 10.254.254.10
port = 1433
tds version = 8.0
----
Manual Page -- http://www.php.net/manual/en/ref.mssql.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46224
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46224&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46224&report=yes
Search -- http://master.php.net/manage/user-notes.php