[klasa][php5] Torrent - pobieranie informaci z trackera (seeds/peers) |
[klasa][php5] Torrent - pobieranie informaci z trackera (seeds/peers) |
24.07.2009, 21:52:44
Post
#1
|
|
Grupa: Zarejestrowani Postów: 6 Pomógł: 0 Dołączył: 14.04.2007 Ostrzeżenie: (0%) |
BEncode.php
Clasa Torrent
Klasa pobiera dane o torrencie(ilość seedów peerów) z trackera, niestety nie każdy tracker wysyła 'complete' & 'incomplete' przykład:
-------------------- Black Tarantula
|
|
|
14.10.2009, 00:14:25
Post
#2
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 18.08.2007 Ostrzeżenie: (0%) |
Działa to fajnie i szybko, ale co jeśli torrent ma multitracker? Ta klasa pobiera dane tylko z jednego trackera. Jak ją przerobić aby pobierać dane ze wszystkich trackerów i wynik sumować?
|
|
|
17.10.2009, 13:13:44
Post
#3
|
|
Grupa: Zarejestrowani Postów: 6 Pomógł: 0 Dołączył: 14.04.2007 Ostrzeżenie: (0%) |
sumowanie da nierzeczywisty wynik, ale ....
Ten post edytował crashu 17.10.2009, 13:14:54 -------------------- Black Tarantula
|
|
|
17.10.2009, 21:11:54
Post
#4
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 18.08.2007 Ostrzeżenie: (0%) |
Wielkie dzięki. O takie coś chodziło.
|
|
|
12.01.2010, 17:48:59
Post
#5
|
|
Grupa: Zarejestrowani Postów: 71 Pomógł: 0 Dołączył: 9.06.2007 Ostrzeżenie: (10%) |
mam pytanie pierwszy kod powinien zostać zapisany w BEncode.php
a pozstałe dwa kody pod jakimi nazwami je zapisać zeby to działało? |
|
|
27.03.2010, 19:17:04
Post
#6
|
|
Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 18.08.2007 Ostrzeżenie: (0%) |
dwa pozostałe w jakimś innym pliku.
|
|
|
3.04.2013, 14:03:10
Post
#7
|
|
Grupa: Zarejestrowani Postów: 191 Pomógł: 0 Dołączył: 22.02.2004 Ostrzeżenie: (0%) |
Przepraszam ze odkopuje temat - czy czy ktos z kolegów może mi powiedzieć jak uruchomić ten skrypt ? Tworze plik BEncode.php i wrzucam zawartość do pliku a z tymi dwoma plikami ? jakie mają mieć nazwę - drugi plik nazwalem torrent.php a trzeci index.php. W pliku index.php dodałem :
I niestedy nie działa .... Prodsze o wskazowki - dziekuje |
|
|
Wersja Lo-Fi | Aktualny czas: 25.09.2024 - 03:08 |