RE: [PHP-GENERAL] MS SQL and PHP connectivity question
| From: | Chuck Barnett | Date: | Thu, 01 Jun 2000 20:44:18 +0000 |
| Subject: | RE: [PHP-GENERAL] MS SQL and PHP connectivity question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-874@lists.php.net to get a copy of this message | ||
Thanks, that was the problem.
Chuck
-----Original Message-----
From: Frank M. Kromann [mailto:fmk@swwwing.com]
Sent: Thursday, June 01, 2000 10:54 AM
To: Chuck Barnett
Cc: 'php-general@lists.php.net'
Subject: Re: [PHP-GENERAL] MS SQL and PHP connectivity question
Hi,
First of all you have to create an ODBC DSN. You do this from the ODBC
manager in the control planel.
When you configure teh DSN you name it and it is this name you use as the
first parameter to odbc_connect().
- Frank
>Hello, I am starting an application that will be on an NT server running
IIS
>4 and an MS SQL db running on another NT server. I have in the past just
>made connections to MySQL with php as an apache module. All of this was on
>one box. In the NT world how do I make the odbc connection across the
>servers?
>
>$connection=odbc_connect("_what_would_go_here", username, password)
>
>would the ip address go there or what? please forgive my ignorance :)
>
>Chuck
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
Swwwing A/S
Frank M. Kromann
VP Development
Phone: +45 70 20 77 20
Fax: +45 70 20 77 21
http://www.swwwing.com