'; $URL = 'ns1.teamdfk.com'; $ping = @fsockopen ($URL, 3306, $errno, $errstr, 10); (!$ping) ? $status = 'MYSQL Server'.' is down' : $status = 'MYSQL Server'.' is up'; echo $status; ?>
test
Modified on: Fri, 5 Feb, 2016 9:22 PM
Yes No
Sorry we couldn't be helpful. Help us improve this article with your feedback.