1 2 3 4 5 6 7 8
<?php include 'connect.inc'; $link = @mysql_connect($host, $user, $passwd); if (!$link) die('skip cannot connect'); mysql_close($link); ?>