Exemplo n.º 1
0
        header('Content-Length: ' . (string) filesize($file));
        flush();
        $file = fopen($file, "rb");
        while (!feof($file)) {
            print fread($file, round(100 * 1024));
            flush();
        }
        fclose($file);
    }
    //readfile($file);
    exit;
}
if (!@ob_start("ob_gzhandler")) {
    @ob_start();
}
echo MSDHeader();
$toolboxstring = '';
$fpath = $config['paths']['backup'];
$dbactiv = isset($_GET['dbactiv']) ? $_GET['dbactiv'] : $databases['db_actual'];
$databases['multi'] = array();
if ($databases['multisetting'] == "") {
    $databases['multi'][0] = $databases['db_actual'];
} else {
    $databases['multi'] = explode(";", $databases['multisetting']);
    $multi_praefixe = array();
    $multi_praefixe = explode(";", $databases['multisetting_praefix']);
    $toolboxstring = '<br>';
    if (is_array($databases['multi'])) {
        for ($i = 0; $i < sizeof($databases['multi']); $i++) {
            if ($i > 0) {
                $toolboxstring .= ', ';
Exemplo n.º 2
0
<?php

if (file_exists("./../../work/config/parameter.php")) {
    @(include "./../../work/config/parameter.php");
}
@(include "./../../inc/functions_global.php");
@(include "./../../language/" . $config["language"] . "/lang.php");
@(include "./../../language/" . $config["language"] . "/lang_help.php");
echo MSDHeader(2);
echo headline($lang['credits']);
?>
<div id="content">
<h3>Riguarda questo progetto</h3>
L'idea di questo progetto viene da Daniel Schlichtholz.<p>
Nel 2004 ha aperto il seguente forum <a href="http://www.mysqldumper.de/board" target="_blank">MySQLDumper</a>
<br>
in seguito ha incontrato dei programmatori liberi professionisti che elaboravano nuovi script e completavano quelli di Daniel.<br>
In brevissimo tempo nasceva da un piccolo backupscript un considerevolo progetto.<br>

<p>Se hai proposte di miglioramento rivolgiti al MySQLDumper-Forum: <a href="http://www.mysqldumper.de/board" target="_blank">http://www.mysqldumper.de/board</a>
<p>Ti auguriamo buon divertimento con questo progetto.<br><p><h4>Il Team di MySQLDumper</h4>
<table><tr><td><img src="../../images/logo.gif" alt="MySQLDumper"
width="160" height="42" border="1"></td><td valign="top">
Daniel Schlichtholz - Steffen Kamper<br>
Perlscript con supporto da Detlev Richter<br>
</td></tr></table>
<br>

<h3> MySQLDumper Aiuto</h3>

<h4>Scarica</h4>
Exemplo n.º 3
0
    echo '<p align="center"><a href="main.php">&lt;&lt; Home</a></p>';
    phpinfo();
    echo '<p align="center"><a href="main.php">&lt;&lt; Home</a></p>';
    exit;
}
if (isset($_POST['htaccess']) || $action == 'schutz') {
    include './inc/home/protection_create.php';
}
if ($action == 'edithtaccess') {
    include './inc/home/protection_edit.php';
}
if ($action == 'deletehtaccess') {
    include './inc/home/protection_delete.php';
}
// Output headnavi
$tpl = new MSDTemplate();
$tpl->set_filenames(array('show' => 'tpl/home/headnavi.tpl'));
$tpl->assign_vars(array('HEADER' => MSDHeader(), 'HEADLINE' => headline('Home')));
$tpl->pparse('show');
MSD_mysql_connect();
if ($action == 'status') {
    include './inc/home/home.php';
} elseif ($action == 'db') {
    include './inc/home/databases.php';
} elseif ($action == 'sys') {
    include './inc/home/system.php';
} elseif ($action == 'vars') {
    include './inc/home/mysql_variables.php';
}
echo MSDFooter();
ob_end_flush();
Exemplo n.º 4
0
    if (is_readable($config['paths']['config'] . $config_file . '.php')) {
        $config['files']['parameter'] = $config['paths']['config'] . $config_file . '.php';
        $_SESSION['config_file'] = $config_file;
        read_config($config['paths']['config'] . $config['files']['parameter']);
        $_SESSION['config'] = $config;
    } else {
        die("Hacking attempt or configuration not found!");
    }
}
$config = $_SESSION['config'];
include './' . $config['files']['parameter'];
$config['files']['iconpath'] = './css/' . $config['theme'] . '/icons/';
include './inc/mysql.php';
include './language/' . $config['language'] . '/lang.php';
include './language/' . $config['language'] . '/lang_dump.php';
$pageheader = MSDHeader();
$DumpFertig = 0;
$relativ_path = './';
$flipped = array_flip($databases['Name']);
if (isset($_SESSION['dump']) && !isset($_GET['config'])) {
    $dump = $_SESSION['dump'];
} else {
    $dump['tables'] = array();
    $dump['records'] = array();
    $dump['skip_data'] = array();
    $dump['totalrecords'] = 0;
    $dump['dbindex'] = 0;
    //$_POST-Parameter lesen
    $dump['kommentar'] = isset($_GET['comment']) ? urldecode($_GET['comment']) : '';
    if (isset($_POST['kommentar'])) {
        $dump['kommentar'] = urldecode($_POST['kommentar']);
Exemplo n.º 5
0
            $config_refresh = '
			<script language="JavaScript" type="text/javascript">
			if (parent.MySQL_Dumper_content.location.href.indexOf("config_overview.php")!=-1)
			{
				var selected_div=parent.MySQL_Dumper_content.document.getElementById("sel").value;
			}
			else selected_div=\'\';
			parent.MySQL_Dumper_content.location.href=\'config_overview.php?config=' . urlencode($new_config) . '&sel=\'+selected_div</script>';
        }
        if (isset($_GET['config'])) {
            $config_refresh = '';
        }
        //Neu-Aufruf bei Uebergabe aus Content-Bereich verhindern
    }
}
echo MSDHeader(1);
echo headline('', 0);
if ($config_refresh > '') {
    $tpl->assign_block_vars('CONFIG_REFRESH_TRUE', array());
    $tpl->assign_var('CONFIG_REFRESH', $config_refresh);
}
// changed language
if ($config['language'] != $lang_old) {
    $tpl->assign_block_vars('CHANGED_LANGUAGE', array());
}
if (isset($_GET['action'])) {
    if ($_GET['action'] == 'dbrefresh') {
        // remember the name of the selected database
        $old_dbname = isset($databases['Name'][$databases['db_selected_index']]) ? $databases['Name'][$databases['db_selected_index']] : '';
        SetDefault();
        // select old database if it still is there
Exemplo n.º 6
0
<?php

if (!@ob_start("ob_gzhandler")) {
    @ob_start();
}
include './inc/header.php';
include MSD_PATH . 'language/' . $config['language'] . '/lang.php';
include MSD_PATH . 'language/' . $config['language'] . '/lang_help.php';
echo MSDHeader(0);
echo headline($lang['L_CREDITS']);
include MSD_PATH . 'language/' . $config['language'] . '/help.php';
?>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Exemplo n.º 7
0
<?php

include_once './inc/header.php';
include_once 'language/' . $config['language'] . '/lang.php';
include_once 'language/' . $config['language'] . '/lang_sql.php';
include_once './inc/functions_sql.php';
include_once './inc/mysql.php';
include_once './inc/functions.php';
include_once './' . $config['files']['parameter'];
$download = isset($_POST['f_export_submit']) && (isset($_POST['f_export_sendresult']) && $_POST['f_export_sendresult'] == 1);
if (!$download) {
    echo MSDHeader(0, "");
    ReadSQL();
    echo '<script language="JavaScript" type="text/javascript">
var auswahl = "document.getElementsByName(\\"f_export_tables[]\\")[0]";
var msg1="' . $lang['sql_notablesselected'] . '";
</script>';
}
//Variabeln
$tdcompact = isset($_GET['tdc']) ? $_GET['tdc'] : $config['interface_table_compact'];
$mysql_help_ref = 'http://dev.mysql.com/doc/mysql/' . $config['language'] . '/index.html';
$mysql_errorhelp_ref = 'http://dev.mysql.com/doc/mysql/' . $config['language'] . '/error-handling.html';
$no_order = false;
$db = !isset($_GET['db']) ? $databases['db_actual'] : $_GET['db'];
$dbid = !isset($_GET['dbid']) ? $databases['db_selected_index'] : $_GET['dbid'];
$context = !isset($_GET['context']) ? 0 : $_GET['context'];
$context = !isset($_POST['context']) ? $context : $_POST['context'];
$tablename = !isset($_GET['tablename']) ? "" : $_GET['tablename'];
$limitstart = !isset($_GET['limitstart']) ? 0 : $_GET['limitstart'];
$orderdir = !isset($_GET['orderdir']) ? "" : $_GET['orderdir'];
$order = !isset($_GET['order']) ? "" : $_GET['order'];