Z
Z
Zawchik2012-01-23 21:53:44
PHP
Zawchik, 2012-01-23 21:53:44

Creating torrents in php?

Hello habra community!
Faced such a problem. You need to create torrent files using php. I'm using the Torrent RW library . Web seeds will be used. Accordingly, for a single file, the code

$torrent = new Torrent('/path/to/file', 'http://server/tracker/announce.php');<br/>
$torrent-&gt;url_list(array('http://www.server.ru/file'));<br/>

works like clockwork.
But when I add an array of files, it doesn't work. What is the catch and how to win this? Thank you all in advance!
UPD: Issue resolved, thanks everyone!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2012-01-23
@KEPZ

It?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question