Changeset 84 for trunk/example.php
- Timestamp:
- 12.06.2008 11:52:16 (7 months ago)
- Files:
-
- 1 modified
-
trunk/example.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/example.php
r76 r84 60 60 61 61 // Decode a file 62 print_r($File_Bittorrent_Decode->decodeFile(' freebsd.torrent'));62 print_r($File_Bittorrent_Decode->decodeFile('install-x86-universal-2005.0.iso.torrent')); 63 63 64 64 /* Output of decode … … 66 66 Array 67 67 ( 68 [name] => FreeBSD_5.2.1-RELEASE-i386-All_CDs 69 [filename] => freebsd.torrent 68 [count] => 3 69 [fruits] => Array 70 ( 71 [0] => Banana 72 [1] => Apple 73 [2] => Cherry 74 [subarray] => Array 75 ( 76 [0] => 1 77 [1] => 2 78 [2] => 3 79 ) 80 81 ) 82 83 [ints] => Array 84 ( 85 [0] => 1 86 [1] => 2 87 [2] => 3 88 ) 89 90 ) 91 Array 92 ( 93 [name] => install-x86-universal-2005.0.iso 94 [filename] => install-x86-universal-2005.0.iso.torrent 70 95 [comment] => 71 [date] => 1 08795241072 [created_by] => Azureus/2.1.0.096 [date] => 1111915968 97 [created_by] => 73 98 [files] => Array 74 99 ( 75 100 [0] => Array 76 101 ( 77 [filename] => 5.2.1-RELEASE-i386-bootonly.iso 78 [size] => 21692416 79 ) 80 81 [1] => Array 82 ( 83 [filename] => 5.2.1-RELEASE-i386-disc1.iso 84 [size] => 675151872 85 ) 86 87 [2] => Array 88 ( 89 [filename] => 5.2.1-RELEASE-i386-disc2.iso 90 [size] => 274857984 91 ) 92 93 [3] => Array 94 ( 95 [filename] => 5.2.1-RELEASE-i386-miniinst.iso 96 [size] => 251428864 97 ) 98 99 [4] => Array 100 ( 101 [filename] => CHECKSUM.MD5 102 [size] => 286 103 ) 104 105 [5] => Array 106 ( 107 [filename] => freebsd521.sfv 108 [size] => 683 102 [filename] => install-x86-universal-2005.0.iso 103 [size] => 712460288 109 104 ) 110 105 111 106 ) 112 107 113 [size] => 1223132105114 [announce] => http:// 69.156.42.20:6969/announce108 [size] => 712460288 109 [announce] => http://titmouse.gentoo.org:6969/announce 115 110 [announce_list] => Array 116 111 ( 117 [0] => http://glimux.sytes.net:6969/announce118 [1] => http://69.156.42.20:6969/announce119 112 ) 120 113 114 [info_hash] => f94b8d2d38632a6589d8121106059989f290b569 121 115 ) 122 116