On Tue, Dec 9, 2008 at 3:41 PM, David Stoltz <Dstoltz@xxxxxxx> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php