MSSQL connection
| From: | Wim Paulussen | Date: | Tue, 17 Jun 2003 15:01:20 +0000 |
| Subject: | MSSQL connection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151844@lists.php.net to get a copy of this message | ||
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