-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.php
33 lines (28 loc) · 1.11 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/***
This File contains the database configuration.
Written By : Femi Fatokun.
Github : www.github.com/FemiFatokun03
Email : fatokunfemi3@gmail.com
Whatsapp : +234 9047238648
***/
#Host Name, In most cases, 'localhost' is valid,
#but you can use any domain name incase you are using a different server for your database.
$server = 'localhost';
#This is the username of an account that has access to the database you want to use
$user = 'root';
#This contains the password of the database user you want to use.
$pass = '';
#The name of the database you want to use.
$database = 'uploads';
#Initializinf the connection.
$connect = mysqli_connect($server, $user, $pass, $database);
#Returning the status of the connecton.
$connector = $connect ? $connect : false;
/***
If you are having any problem in connecting to your database server, please contact me.
Github : www.github.com/FemiFatokun03
Email : fatokunfemi3@gmail.com
Whatsapp : +234 9047238648
***/
?>