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
|
14
config/datenbankanbindung.php
Executable file
14
config/datenbankanbindung.php
Executable file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
//--Funktion-Datenbankverbindung--------------------------------------------------------------------
|
||||
|
||||
|
||||
function dbconnect() //--Prozedur - kein return-Wert
|
||||
{
|
||||
//$db = @new mysqli( 'localhost', 'root', '', 'prognose' );
|
||||
$db = @new mysqli( 'localhost', 'schwaral', 'schnatz', 'prognose_kehl' );
|
||||
$db->query("SET NAMES 'utf8'");
|
||||
return $db;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
?>
|
13
config/datenbankanbindung_localhost.php
Executable file
13
config/datenbankanbindung_localhost.php
Executable file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
//--Funktion-Datenbankverbindung--------------------------------------------------------------------
|
||||
// Datenbank localhost
|
||||
|
||||
function dbconnect() //--Prozedur - kein return-Wert
|
||||
{
|
||||
$db = @new mysqli( 'localhost', 'root', '', 'atelier' );
|
||||
$db->query("SET NAMES 'utf8'");
|
||||
return $db;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
?>
|
13
config/datenbankanbindung_server.php
Executable file
13
config/datenbankanbindung_server.php
Executable file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
//--Funktion-Datenbankverbindung--------------------------------------------------------------------
|
||||
// Produktion Datenbank Server
|
||||
|
||||
function dbconnect() //--Prozedur - kein return-Wert
|
||||
{
|
||||
$db = @new mysqli( 'localhost', 'schwaral', 'schnatz', 'prognose' );
|
||||
$db->query("SET NAMES 'utf8'");
|
||||
return $db;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
?>
|
13
config/datenbankanbindung_server_demo.php
Executable file
13
config/datenbankanbindung_server_demo.php
Executable file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
//--Funktion-Datenbankverbindung--------------------------------------------------------------------
|
||||
// Demo Datenbank Server
|
||||
|
||||
function dbconnect() //--Prozedur - kein return-Wert
|
||||
{
|
||||
$db = @new mysqli( 'db664122215.db.1and1.com', 'dbo664122215', '!Salier2016', 'db664122215' );
|
||||
$db->query("SET NAMES 'utf8'");
|
||||
return $db;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
?>
|
6
config/ftpanbindung.php
Executable file
6
config/ftpanbindung.php
Executable file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$FTPServer = 'localhost';
|
||||
#$FTPServer = 'p35299457.1and1-data.host';
|
||||
$FTPUser = 'p35299457-2';
|
||||
$FTPPasswort = '!Salier2016';
|
||||
?>
|
Reference in New Issue
Block a user