Login   Register  
PHP Classes
elePHPant
Icontem

bencoding: Serialize and unserialize values in bencode format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-04-02 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 349 All time: 6,214 This week: 882Up
Version License PHP version Categories  
bencoding 1.0GNU General Public Lice...5.0PHP 5, Data types
Description Author  

This class can be used to serialize and unserialize values in bencode format.

It can take a variable value and encode it as a string that describes its type and value in the bencode format. It supports encoding strings integers and arrays.

The class can also do the opposite, i.e. take a string in the bencode format and restore the original variable value.

Picture of Christoph Kappestein
Name: Christoph Kappestein <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 2511163 in Germany Germany
Week rank: 1735 Up89 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file bencoding.php Class main class
Accessible without login Plain text file example.php Example example script
Accessible without login Plain text file readme.txt Doc. documentation

 Version Control Unique User Downloads Download Rankings  
 0%Total:349All time:6,214
 This week:0This week:882Up