mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-01-04 05:45:59 +00:00
21 lines
428 B
PHP
21 lines
428 B
PHP
<?php
|
|
/*
|
|
Connect to database
|
|
|
|
Make sure to enter your correct database details,
|
|
else it may cause issues with loading the page
|
|
*/
|
|
|
|
$conn_ip = "192.168.0.79:3306";
|
|
$conn_username = "uwu";
|
|
$conn_password = "fennec621";
|
|
$conn_database = "gallery";
|
|
|
|
try {
|
|
$conn = @mysqli_connect($conn_ip, $conn_username, $conn_password , $conn_database);
|
|
} catch (Exception $e) {
|
|
die("Unable to connect to the database");
|
|
}
|
|
|
|
session_start();
|