Привет, Гость!
Главная
Вход

Последняя активность

Форум / Компы / Софт
Поиск
  не пойму где косяк...
ШиЗа ШиЗа [Off] [#] (12.05.2024 / 18:46)
Добавлено: 12.05.2024 / 18:45
не пойму где косяк,не хочет фурычить, что скажете, камрады?

Добавлено: 12.05.2024 / 18:46
Torrent RW

PHP version 5.2+

Features:
Decode torrent file or data
Build torrent from source folder/file(s)
Silent Exception error system
Usage example
require_once 'Torrent.php';

// get torrent infos
$torrent = new Torrent( './test.torrent' );
echo '<br>private: ', $torrent->is_private() ? 'yes' : 'no',
'<br>annonce: ', $torrent->announce(),
'<br>name: ', $torrent->name(),
'<br>comment: ', $torrent->comment(),
'<br>piece_length: ', $torrent->piece_length(),
'<br>size: ', $torrent->size( 2 ),
'<br>hash info: ', $torrent->hash_info(),
'<br>stats: ';
var_dump( $torrent->scrape() );
echo '<br>content: ';
var_dump( $torrent->content() );
echo '<br>source: ',
$torrent;

// get magnet link
$torrent->magnet(); // use $torrent->magnet( false ); to get non html encoded ampersand

// create torrent
$torrent = new Torrent( array( 'test.mp3', 'test.jpg' ), 'http://torrent.tracker/annonce' );
$torrent->save('test.torrent'); // save to disk

// modify torrent
$torrent->announce('http://alternate-torrent.tracker/annonce'); // add a tracker
$torrent->announce(false); // reset announce trackers
$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
$torrent->comment('hello world');
$torrent->name('test torrent');
$torrent->is_private(true);
$torrent->httpseeds('http://file-hosting.domain/path/'); // Bittornado implementation
$torrent->url_list(array('http://file-hosting.domain/path/','http://another-file-hosting.domain/path/')); // GetRight implementation

// print errors
if ( $errors = $torrent->errors() )
var_dump( $errors );

// send to user
$torrent->send();
Дратьтатьян Дратьтатьян (Smd) [Off] [#] (19.05.2024 / 14:54)
тружбан спуделя
ШиЗа, На первый взгляд, он может быть связан с путями к файлам или с объявлением торрента.
Напиши код на туалете сфоткай и отправь мне я разбираюсь только в рукописном коде
Сыроежкин Сыроежкин [Off] [#] (22.05.2024 / 08:03)
ШиЗа ШиЗа [Off] [#] (28.05.2024 / 19:33)
# Дратьтатьян (19.05.2024 / 14:54)
ШиЗа,
Напиши код на туалете сфоткай и отправь мне я разбираюсь только в рукописном коде
Писать на стенках туалета, Поверьте мне не мудрено. Среди говна вы все поэты. Среди поэтов - все говно.
Дратьтатьян Дратьтатьян (Smd) [Off] [#] (01.06.2024 / 17:06)
тружбан спуделя
Косяк за ухом
  Всего: 5

Фильтр по автору
Скачать тему

Форум

Новые вверху
0 / 80

Gazenwagen Gegenkulturelle Gemeinschaft