File_Bittorrent
[ class tree: File_Bittorrent ] [ index: File_Bittorrent ] [ all elements ]

File: Decode.php

Source Location: /File_Bittorrent-0.1.4/File/Bittorrent/Decode.php

Classes:

File_Bittorrent_Decode
Decode .torrent files

Page Details:

Encode data in Bittorrent format

Based on Original Python implementation by Petru Paler <petru@paler.net> PHP translation by Gerard Krijgsman <webmaster@animesuki.com> Gerard's regular expressions removed by Carl Ritson <critson@perlfu.co.uk>

Info on the .torrent file format

BEncoding is a simple, easy to implement method of associating data types with information in a file. The values in a torrent file are bEncoded. There are 4 different data types that can be bEncoded: Integers, Strings, Lists and Dictionaries. [http://www.monduna.com/bt/faq.html]

  • Author: Markus Tacker <m@tacker.org>
  • Version: $Id: Decode.php 10 2005-02-04 12:05:14Z m $

Includes:

require_once('PEAR.php') [line 47]
Include required classes
require_once('PHP/Compat.php') [line 48]

Documentation generated on Mon, 11 Mar 2019 14:23:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.