Каким образом можно с помощью php открыть .torrent файл, добавить туда несколько анонс адресов и закрыть файл? Так, чтобы при открытии уже обработаного файла в uTorrent появлялись старые адреса и новые, которые мы добавили. Помогите
У меня все работает PHP: <?php require_once 'Torrent.php'; $torrent = new Torrent('sample.torrent'); $torrent->announce('http://alternate-torrent.tracker/annonce'); $torrent->send(); ?>
как я понел каждый анонс добавит можно PHP: $torrent->announce('http://alternate-torrent.tracker/annonce'); $torrent->announce('http://rutracker.ru/annonce');
Nelzone Кстате не пашет, в инструкции написано, что такими 2 способами должно работать PHP: $torrent->announce(array('http://torrent.tracker/annonce', 'http://alternate-torrent.tracker/annonce')); // set tracker(s), it also works with a 'one tracker' array... $torrent->announce(array(array('http://torrent.tracker/annonce', 'http://alternate-torrent.tracker/annonce'), 'http://another-torrent.tracker/annonce')); // set tiered trackers