// Make torrent private
if ($external == "no") {
require_once("backend/BDecode.php");
require_once("backend/BEncode.php");
$dict = BDecode(file_get_contents("$torrent_dir/$fname"));
$dict["info"]["private"] = 1;
$fs = fopen("$torrent_dir/$fname", "w");
fwrite($fs, BEncode($dict));
fclose($fs);
$TorrentInfo = array();
$TorrentInfo = ParseTorrent("$torrent_dir/$fname");
$infohash = $TorrentInfo[1];
}
// End add make torrent private
No users online
Torrents
Members
Online