Location: PHPKode > scripts > MySQL Dump > mysql-dump/dump_cfg.inc
<?php
/*******************************************/
/* MySQL Datenbankbackup                   */
/* Modul "dump_cfg.inc"                    */
/* Version 1.0 , GNU TAW24 Germany         */
/* Author Transatlantic-Web                */
/* http://www.taw24.de                     */
/*  <hide@address.com>                        */
/*                                         */
/* modified by benjamin klatt              */
/*  <hide@address.com>           */
/*                                         */
/*******************************************/

//  -------------------------------------------------------------------------------------
// Script configuration:
    $user = "xxx";                                                 // DB User
    $pw = "xxx";                                                   // Passwort
    $host = "localhost";                                           // Hostname
    $db1 = "xxx";                                                  // Datenbank
	$lang = "de";                                                  // Sprache  de / en
    $use_date = 0;					// Backupdateiname mit Datum versehen 0 = nein / 1 = ja
	
//  -------------------------------------------------------------------------------------
// Don't change the lines below:
	$conn_id = mysql_connect($host,$user,$pw) or die(mysql_error());
	$path="";						
	$path = $path . "backup/";                                            
	if (!is_dir($path)) mkdir($path, 0777);
     	
?>
Return current item: MySQL Dump