aggiunte prime cose
This commit is contained in:
parent
a134652015
commit
0e0b34dcb8
|
|
@ -0,0 +1 @@
|
||||||
|
.idea
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="it">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>Biblioteca | I5AI6</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
require_once "../db/connect.php";
|
||||||
|
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
$username = $_POST['username'];
|
||||||
|
$password = $_POST['password'];
|
||||||
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$hostname = "localhost";
|
||||||
|
$username = "root";
|
||||||
|
$password = "";
|
||||||
|
$dbname = "biblioteca";
|
||||||
|
|
||||||
|
$conn = mysqli_connect($hostname, $username, $password, $dbname);
|
||||||
|
|
||||||
|
if (!$conn) {
|
||||||
|
echo "Error: " . mysqli_connect_error();
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue