Re: MSSQL_CONNECT problem

From: Date: Wed, 10 Dec 2008 04:26:27 +0000
Subject: Re: MSSQL_CONNECT problem
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-284401@lists.php.net to get a copy of this message
On Tue, Dec 9, 2008 at 3:41 PM, David Stoltz <Dstoltz@shh.org> wrote: > Yes, I'm using a valid SQL account. I've tried putting both versions of > "ntwdblib.dll" in the php directory, and the system32 directory (not at once of course), > and I get the same error. > > I've pretty much tried everything I've read....the kicker is I can access the SQL > Server fine by using ADO in PHP. It's only when I try mssql_connect that the connection > fails.... > > The whole reason I don't use ADO is because the queries don't stand up to SQL > injection...So I wanted to use mssql_connect with "mssql_bind" so I can do parameterized > queries.... > > Do you have any other thoughts? > > Thanks! > I've had decent luck so far with the SQL Server Driver for PHP published by Microsoft since Jason pointed me to it a while ago. Andrew

« previous php.general (#284401) next »