MySQLi connection check and script mirror URLs