vytvoření .htaccess + úklid
This commit is contained in:
1
www2databaze/assets/.htaccess
Normal file
1
www2databaze/assets/.htaccess
Normal file
@ -0,0 +1 @@
|
||||
Require all denied
|
12
www2databaze/assets/database.php
Normal file
12
www2databaze/assets/database.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$db_host = "127.0.0.1";
|
||||
$db_user = "kankys.jr";
|
||||
$db_password = "Heslo123";
|
||||
$db_name = "skola";
|
||||
|
||||
$connection = mysqli_connect($db_host, $db_user, $db_password, $db_name);
|
||||
if (mysqli_connect_error()) {
|
||||
echo mysqli_connect_error();
|
||||
exit();
|
||||
}
|
||||
?>
|
3
www2databaze/assets/header.php
Normal file
3
www2databaze/assets/header.php
Normal file
@ -0,0 +1,3 @@
|
||||
<header>
|
||||
<h1>Hlavička</h1>
|
||||
</header>
|
Reference in New Issue
Block a user