"; while (false !== ($entry = readdir($handle))) { if (preg_match("/torrent$/", $entry)) { $h = htmlspecialchars(explode(".", $entry)[0]); echo '
  • ' . $h . ''; } } die(); closedir($handle); } else { die("ne morem brati direktorija"); } } if (!preg_match("/^[a-f0-9A-F]{40}$/", $_REQUEST["h"])) die('!preg_match("/^[a-f0-9A-F]{40}$/", $_REQUEST["h"])'); $t = TorrentFile::load("../".$_REQUEST["h"].".torrent"); ?>

    getName()) ?>

    <?= htmlspecialchars($t->getName()) ?> isPrivate()) echo ""; ?> getRootData()["source"]["v"]) { ?> getSource())) { ?>
    pridobljeno getCreationDate()) ?>
    tip getProtocol() ?>
    datotečni način getFileMode() ?>
    zaseben
    magnetna povezava
    .torrent>torrent datoteka
    velikost getSize()/(1024*1024*1024), 6, ",", "") ?> GiB
    število datotek getFileCount() ?>
    ip naslov vira getRootData()["source"]["ip"]) ?>
    odjemalec vira getRootData()["source"]["v"]) ?>
    velikost koščka getPieceLength()/1024; ?> kB
    izvor getSource()) ?>
    " . htmlspecialchars($k) . ""; } else { echo "
  • " . htmlspecialchars($k) . " (" . number_format($v/(1024*1024), 6, ",", "") . " MiB)"; } } echo ""; ?>

    interna stran, dostop prepovedan