The problem is solved.I set allias in sql server's client utility,and make sure you are using Named Piped protocol.
And I replace the dynamic library NTWDBLIB.DLL with the sql server's ntwdblib.dll in %windir%/system32.
It work for me.
my operating system is window2000 and http server is iis
error message:
Warning: MS SQL: Unable to connect to server: myhost\HEHE in C:\cvs_mso\ETCN\sys.php on line 36
but the same code work smoothly under apache!
in fact,before yesterday it work well on iis. it just cann't work today.
I have the same problem with you.In fact, it work quite well before yesterday,but It just doesn't work today!And the thing is the same with what you say!
If you find out what the problem is, please send me an email
[email protected]