コード例 #1
0
ファイル: phome.php プロジェクト: shiruolin/hzzshop
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Opi($tablename, $mydbname);
} elseif ($phome == "DoDrop") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Drop($tablename, $mydbname);
} elseif ($phome == "ReplaceTable") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    $oldpre = $_POST['oldtablepre'];
    $newpre = $_POST['newtablepre'];
    Ebak_ReplaceTable($tablename, $oldpre, $newpre, $mydbname);
} elseif ($phome == "DropDb") {
    $mydbname = $_GET['mydbname'];
    Ebak_DropDb($mydbname);
} elseif ($phome == "CreateDb") {
    $mydbname = $_POST['mydbname'];
    $mydbchar = $_POST['mydbchar'];
    Ebak_CreatDb($mydbname, $mydbchar);
} elseif ($phome == "EmptyTable") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_EmptyTable($tablename, $mydbname);
} elseif ($phome == "exit") {
    LoginOut();
} elseif ($phome == "login") {
    $lusername = $_POST['lusername'];
    $lpassword = $_POST['lpassword'];
    $key = $_POST['key'];
    login($lusername, $lpassword, $key, $lifetime);
コード例 #2
0
ファイル: phome.php プロジェクト: BGCX261/zjh-dev-svn-to-git
if ($phome == "SetDb") {
} elseif ($phome == "DoRep") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Rep($tablename, $mydbname, $logininid, $loginin);
} elseif ($phome == "DoOpi") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Opi($tablename, $mydbname, $logininid, $loginin);
} elseif ($phome == "DoDrop") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Drop($tablename, $mydbname, $logininid, $loginin);
} elseif ($phome == "DropDb") {
    $mydbname = $_GET['mydbname'];
    Ebak_DropDb($mydbname, $logininid, $loginin);
} elseif ($phome == "CreateDb") {
    $mydbname = $_POST['mydbname'];
    $mydbchar = $_POST['mydbchar'];
    Ebak_CreatDb($mydbname, $mydbchar, $logininid, $loginin);
} elseif ($phome == "EmptyTable") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_EmptyTable($tablename, $mydbname, $logininid, $loginin);
} elseif ($phome == "DoEbak") {
    Ebak_DoEbak($_POST, $logininid, $loginin);
} elseif ($phome == "BakExe") {
    $t = $_GET['t'];
    $s = $_GET['s'];
    $p = $_GET['p'];
    $mypath = $_GET['mypath'];