Initial commit
This commit is contained in:
13
config/#ftpanbindung.php
Normal file
13
config/#ftpanbindung.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?
|
||||
$FTPServer = 'lg-on.de';
|
||||
$FTPUser = 'web360';
|
||||
$FTPPasswort = '60050101';
|
||||
|
||||
$FTPServer2 = 'aundj.homeftp.net';
|
||||
$FTPUser2 = 'ali';
|
||||
$FTPPasswort2 = '7655843';
|
||||
|
||||
$FTPServer3 = 'ams2.homeip.net';
|
||||
$FTPUser3 = 'lgon';
|
||||
$FTPPasswort3 = '7655843';
|
||||
?>
|
4
config/.htaccess
Normal file
4
config/.htaccess
Normal file
@ -0,0 +1,4 @@
|
||||
AuthName "pwd"
|
||||
AuthType Basic
|
||||
AuthUserFile /var/www/web712/html/config/.htpasswd
|
||||
require valid-user
|
1
config/.htpasswd
Normal file
1
config/.htpasswd
Normal file
@ -0,0 +1 @@
|
||||
admin:$1$mJMmTGPR$/db9TUBE9VIYJMUcNezBk0
|
18
config/datenbankanbindung.php
Normal file
18
config/datenbankanbindung.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
//--Funktion-Datenbankverbindung--------------------------------------------------------------------
|
||||
$db_host = 'localhost';
|
||||
$db_name = 'usr_web712_1';
|
||||
|
||||
function dbconnect() //--Prozedur - kein return-Wert
|
||||
{
|
||||
#mysql_connect("localhost", "web360", "60050101") or die("Couldn't connect. Please contact your
|
||||
# database administrator!");
|
||||
#mysql_select_db("leitgedanken");
|
||||
$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->query("SET NAMES 'utf8'");
|
||||
return $db;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
?>
|
9
config/ftpanbindung.php
Normal file
9
config/ftpanbindung.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$FTPServer = 'lg-on.de';
|
||||
$FTPUser = 'web360';
|
||||
$FTPPasswort = '60050101';
|
||||
|
||||
$FTPServer2 = 'www2.ja-schwarz.de';
|
||||
$FTPUser2 = 'lgon';
|
||||
$FTPPasswort2 = '7655843';
|
||||
?>
|
Reference in New Issue
Block a user