first commit
This commit is contained in:
4
config/.htaccess
Executable file
4
config/.htaccess
Executable file
@ -0,0 +1,4 @@
|
||||
AuthName "pwd"
|
||||
AuthType Basic
|
||||
AuthUserFile /var/www/web712/html/config/.htpasswd
|
||||
require valid-user
|
1
config/.htpasswd
Executable file
1
config/.htpasswd
Executable file
@ -0,0 +1 @@
|
||||
admin:$1$mJMmTGPR$/db9TUBE9VIYJMUcNezBk0
|
13
config/datenbankanbindung.php
Executable file
13
config/datenbankanbindung.php
Executable file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
//--Funktion-Datenbankverbindung--------------------------------------------------------------------
|
||||
|
||||
function dbconnect() //--Prozedur - kein return-Wert
|
||||
{
|
||||
|
||||
$db = @new mysqli( 'localhost', 'schwaral', 'schnatz', 'deputat' );
|
||||
$db->query("SET NAMES 'utf8'");
|
||||
return $db;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
?>
|
Reference in New Issue
Block a user