first commit

This commit is contained in:
aschwarz
2023-11-03 11:24:13 +01:00
commit fd10ee8d96
3674 changed files with 385385 additions and 0 deletions

4
config/.htaccess Normal file
View File

@ -0,0 +1,4 @@
AuthName "pwd"
AuthType Basic
AuthUserFile /var/www/web712/html/config/.htpasswd
require valid-user

1
config/.htpasswd Normal file
View File

@ -0,0 +1 @@
admin:$1$mJMmTGPR$/db9TUBE9VIYJMUcNezBk0

View File

@ -0,0 +1,15 @@
<?php
//--Funktion-Datenbankverbindung--------------------------------------------------------------------
function dbconnect() //--Prozedur - kein return-Wert
{
$db = @new mysqli( 'localhost', 'root', '', 'ams_stammdaten' );
//$db = @new mysqli( 'localhost', 'lgadmin', '!S1ge1nA', 'leitgedanken' );
$db->query("set sql_mode = 'ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'");
$db->set_charset('utf8mb4');
$db->query("SET NAMES 'utf8mb4'");
return $db;
}
//--------------------------------------------------------------------------------------------------
?>