Re: Interfaces file for MSSQL 7
| From: | Mark Stabb | Date: | Sat, 01 Jul 2000 13:19:57 +0000 |
| Subject: | Re: Interfaces file for MSSQL 7 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-791@lists.php.net to get a copy of this message | ||
Hi there
Using PHP with SQLserver7 is not to difficult if the SQLserver is setup
correctly.
(A good book on this subject is SQLserver7 administration MCSE guide)
Then you just use
mssql_connect(string [servername] , string [username] , string [password] );
servername is the name of the NTserver i.e. PDC1 or SQLS1 or whatever you
call it.
username is usually sa (For systems account) $username="sa"
password is left empty no quotes and no = sign.
However if someone has set up a rigid security frame work you may need to
talk to your SyS admin to find out what these are.
Mark Stabb
----- Original Message -----
From: "Andrian Pervazov" <apervazov@aspen-marketing.com>
To: <php-windows@lists.php.net>
Sent: Friday, June 30, 2000 5:42 PM
Subject: [PHP-WIN] Interfaces file for MSSQL 7
> Could somebody shed some light on the interfaces file? The PHP manual
> says you have to define the MSSQL server names in such a file. What is
> the format of this file and in which directory should it stay? Should it
> be mentioned in the php.ini file aswell? Any info will be greatly
> appreciated.
>
> Thanks in advance,
>
> Andrian
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net