PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Christoph Kappestein  >  bencoding  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: documentation
Class: bencoding
Serialize and unserialize values in bencode format
Author: By
Last change:
Date: 13 years ago
Size: 848 bytes


Class file image Download
	- general
	This class is for encoding php types to the bencode syntax and
	decoding a bencode string to php types. You need this if you
	want to create/read a torrent file or create responses for a
	tracker. For more informations about bencode goto:
	I have developed this class for my framework psx <>
	but you can also use this outside.
	- description
	The following php/bencoding types are accosiated
	Type          Bencode                    PHP
	String        4:spam                     'spam'
	Integer       i3e                        3
	List          l4:spam4:eggse             array('spam', 'eggs')
	Dictionarie   d3:cow3:moo4:spam4:eggse   array('cow' => 'moo', 'spam' => 'eggs')
For more information send a message to info at phpclasses dot org.