File: /home/httpd/html/seekya.com/DEAD/manage/dump_cfg.inc
<?php
include("../includes/connect.php");
// -------------------------------------------------------------------------------------
// Script configuration:
$user = $dbuser;
$pw = $dbpass;
$host = $dbserver;
$db1 = $database_connect;
$lang = "en";
$use_date = 1;
// -------------------------------------------------------------------------------------
// Don't change the lines below:
$conn_id = mysql_connect($host,$user,$pw) or die(mysql_error());
$path=realpath("dump_cfg.inc");
$path=str_replace("admin/dump_cfg.inc","",$path);
$path=str_replace("\\","/",$path);
$path1= split("/",$path);
$path=str_replace($path1[count($path1)-1],"",$path);
$path=str_replace("//","/",$path);
//$path="D:/wwwroot/";
$path = $path . "backup/";
if (!is_dir($path)) mkdir($path, 0777);
?>