Skip to content

Commit

Permalink
Merge pull request #1 from zume2020/config-fix
Browse files Browse the repository at this point in the history
added configuration file
  • Loading branch information
zume2020 authored Oct 4, 2019
2 parents c1b4d2e + 478b55e commit bb2cef8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions connect.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
date_default_timezone_set('Asia/Kolkata');

$Server = "localhost";
$UserName = "root";
$Password = "";
$Database = "XCopy";


// Create connection
$link = mysqli_connect($Server, $UserName, $Password, $Database);

// Check connection
if ($link->connect_error) {
die("Connection failed: " . $link->connect_error);
}

?>

0 comments on commit bb2cef8

Please sign in to comment.