note 104021 rejected from function.mssql-connect by danbrown

From: Date: Wed, 18 May 2011 00:29:02 +0000
Subject: note 104021 rejected from function.mssql-connect by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179838@lists.php.net to get a copy of this message
Note Submitter: leeeonardo at hotmail dot com ---- Hi, Actually, I have a SQL Server Express 2005. And It's working with some aplication remotly. Now I install a web server with OS Centos (linux). But I can't connect to DB. "Couldn't connect to SQL Server on 192.168.3.5\SQLEXPRESS" I used PHP.... $myServer = "192.168.3.5\SQLEXPRESS"; $myUser = "user"; $myPass = "pwd"; $myDB = "db"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); Somebody know how can I fix it?

« previous php.notes (#179838) next »