Re: MSSQL connection

From: Date: Tue, 17 Jun 2003 15:09:31 +0000
Subject: Re: MSSQL connection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151846@lists.php.net to get a copy of this message
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

« previous php.general (#151846) next »