A better solution for connecting to SQL Server is the php_odbtp_mssql.dll extension available at http://odbtp.sourceforge.net. The reason why is because the php_mssql.dll was built using DB-Library, which is obsolete and unsupported by Microsoft. This is why ntwdblib.dll is not in MDAC, and contains bugs that will never be fixed. The php_odbtp_mssql.dll file supports all of the functions from the php_mssql.dll file. And, unlike the php_mssql.dll, it supports all of the new data types available in SQL Server 2000, such as, varchar(>255), nvarchar and ntext. -- bob On Sun, 8 Feb 2004, Duane Lakoduk wrote: > > > > I had this bookmarked too, and I had forgotten about it. Would > > installing the MDAC Microsoft have on their site install the > > ntwdblib.dll? > > > > > Don't think so, I have current MDAC installed and it is not on my ws. > I just found this on: http://www.php.net/function.mssql-connect > > > ================ > GET ntwdblib.dll > This dll can also be found in the binary zip of php 4.3 in the dlls subdir. > put it in the system32 dir. > WATCH OUT... i used a copy found on a MSSQL server, used that.. couldn't get > it to work.. My function calls seamed OK, could call the mssql routines but > I got a connection error > When I used the dll distributed with the binary zip of php 4.3 it worked. > > ================ > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php