1<?php
2require_once 'connect.inc';
3if ($skip_on_connect_failure) {
4    $link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
5    if (!is_object($link))
6        die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
7    mysqli_close($link);
8}
9?>
10