Decode contents of bencoded .torrent files

Recently I logged into my old and long forgotten phpclasses.org account and noticed that the BDecode class, which I wrote back in 2006, is to my surprise still getting downloads. Due to its age, the code doesn't look as good as it used to, so I decided to rewrite it from scratch and post it here hoping that there is still anyone out there who requires to decode bencoded data.

The class supports all versions of PHP5 and does not depend on any external libraries.

Showing 1 - 1 of 1 results