aboutsummaryrefslogtreecommitdiff
path: root/scripts/vendorid/connect.php
blob: cb078bed203d2584bc84b213a35af85efefde6ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

//created by Antonio Gallo (tonicucoz@yahoo.com)
// this script is in the Public Domain

$host		=	'';
$user		=	'';
$password	=	'';
$dbName		=	'';

class DB
{
	public static $instance;
}

DB::$instance = new mysqli($host,$user,$password,$dbName);

if (mysqli_connect_error())
{
	die('Connect Error (' . mysqli_connect_errno() . ') ' . mysqli_connect_error());
}

?>