Hi, i using mssql 2005 and am having big problems with php connect to mssql server.
When i wrote sample script like that:
Then i get next error:PHP Code:<?php
mssql_connect("localhost", "id", "pw") or die('error');
?>
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: localhost in C:\www\reg\test.php on line 3
Could not select the database1
I tried almost evrything ... creater a lot logins allowed remote connections but nothinh help. Btw php is running on the same server as mssql 2005.
Thanks for help.



Reply With Quote

