RE: [PHP] SQL Server test tool

From: Date: Wed, 15 May 2002 21:27:23 +0000
Subject: RE: [PHP] SQL Server test tool
Groups: php.general 
Request: Send a blank email to php-general+get-97826@lists.php.net to get a copy of this message
This is not tested but should work <PSUDO CODE> $mysql_host = "localhost:1433"; $mysql_login = "billy"; $mysql_pw = "bob"; if(!$db_conn = mysql_connect($mysql_host, $mysql_login, $mysql_pw)){ echo "Connection Failed"; } </PSUDO CODE> Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : rcollins@norta.com -----Original Message----- From: Scott St. John [mailto:scott@scottah.com] Sent: Wednesday, May 15, 2002 6:53 AM To: php-general@lists.php.net Subject: [PHP] SQL Server test tool Has anyone seen or know if it is possible to use PHP to test if a SQL server is alive on port 1433? I know I could run a query, but was looking for something to actually test on the port. Thanks, -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#97826) next »