RE: [PHP] MSSQL connection
| From: | Wim Paulussen | Date: | Tue, 17 Jun 2003 16:48:26 +0000 |
| Subject: | RE: [PHP] MSSQL connection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151861@lists.php.net to get a copy of this message | ||
At least : step 1.
Does anyone know what is meant by the 'interfaces' file ?
<quote>
The servername argument has to be a valid servername that is defined in
the 'interfaces' file.
</quote>
-----Oorspronkelijk bericht-----
Van: Wim Paulussen [mailto:wim.paulussen@profile.be]
Verzonden: Tuesday, June 17, 2003 5:14 PM
Aan: adam@cryptocomm.com
CC: php-general@lists.php.net
Onderwerp: RE: [PHP] MSSQL connection
That's it . Thank you very much !
-----Oorspronkelijk bericht-----
Van: Adam Voigt [mailto:adam@cryptocomm.com]
Verzonden: Tuesday, June 17, 2003 5:10 PM
Aan: Wim Paulussen
CC: php-general@lists.php.net
Onderwerp: Re: [PHP] MSSQL connection
You need to turn on the MSSQL extension in your php.ini,
under Windows this file is probably in:
c:\winnt\php.ini
On Tue, 2003-06-17 at 11:01, Wim Paulussen wrote:
> LS,
>
> I am trying to get a connection to a remote MSSQL server.
> This is what I found in the online manual :
> <quote>
> mssql_connect() establishes a connection to a MS SQL server. The
servername
> argument has to be a valid servername that is defined in the 'interfaces'
> file.
> </quote>
> This is the command given :
> <quote>
> $test = mssql_connect("SQL-001","whoever","whatever");
> </quote>
> This is the output of the code snippet
> <quote>
> Fatal error: Call to undefined function: mssql_connect() in c:\program
> files\apache\htdocs\pestest\axtest.php on line 5
> </quote>
>
> The error message seems to be out of line with the manual . I was
wondering
> whether this is related to the definition in the 'interfaces' file
(whatever
> that may be).
>
> All help highly appreciated.
>
> Wim
--
Adam Voigt (adam@cryptocomm.com)
Linux/Unix Network Administrator
The Cryptocomm Group
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php