This is not tested but should work
$mysql_host = "localhost:1433";
$mysql_login = "billy";
$mysql_pw = "bob";
if(!$db_conn = mysql_connect($mysql_host, $mysql_login, $mysql_pw)){
echo "Connection Failed";
}
Robert W. Collins II
Webmaste
Just attempt to connect. If it succeeds, the server is alive.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 6:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SQL Server test tool
H
I would imagine that you could use fsockopen to open a socket connection on
that port in order to test it.
-Jared
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SQL Server test tool
Has anyon
3 matches
Mail list logo