Visa Källkod

The following files exist in this folder. Click to view.

NamnTypStorlek
account.phpPHP Fil11.6 KB
admin.phpPHP Fil23.6 KB
authors.phpPHP Fil4.1 KB
book.phpPHP Fil5.9 KB
db_cnnt.phpPHP Fil407 B
header.phpPHP Fil1.7 KB
home.phpPHP Fil8.4 KB
index.phpPHP Fil5.3 KB
loan_handler.phpPHP Fil1.9 KB
manage_authors.phpPHP Fil4.7 KB
my_loans.phpPHP Fil6.9 KB
S.sqlSQL Fil3.3 KB
search.phpPHP Fil11 KB

db_cnnt.php

18 lines ASCII Windows (CRLF) - Type: PHP Fil
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
// xiiriirka database
define('DB_HOST''localhost');
define('DB_NAME',  "Intentionally removed by CSource");
//define('DB_PORT', '1889');
define('DB_USER',  "Intentionally removed by CSource");
define('DB_PASS',  "Intentionally removed by CSource");

$pdo = new PDO(
        
"mysql:host=" DB_HOST ";dbname=" DB_NAME ";charset=utf8mb4",
        
DB_USER,
        
DB_PASS
);

// Tidszon
date_default_timezone_set('Europe/Stockholm');
?>