Closed ghost closed 6 years ago
Hi there,
I'm not able to modify torrents at all.
require_once 'Torrent.php'; $torrent = new Torrent('test.torrent'); // modify torrent $torrent->announce('http://alternate-torrent.tracker/announce'); // add a tracker $torrent->comment('hello world');
This should modify the tracker and comment, but it does not work. I'm running PHP 5.5, with cURL enabled.
Any ideas?
I'm dumb.
Solved it by using: $torrent->save('test.torrent'); // save to disk
$torrent->save('test.torrent'); // save to disk
Hi there,
I'm not able to modify torrents at all.
This should modify the tracker and comment, but it does not work. I'm running PHP 5.5, with cURL enabled.
Any ideas?