How can I parse a .torrent file with PHP? [solved]
There are some similar questions, but most of them want to download a torrent using PHP or something like that. What I’d like to do is parse a
.torrent file, add trackers to it, and then re-save it as a
- I saw Snark which looks to be for Java only.
Can I do this with PHP? If so, how?
To parse a
.torrent file with PHP you can use a standalone function, as demonstrated here or you can use a library, like the one included with php-bittorrent
This entry was posted in Tech Tips
, Web Development
and tagged bittorrent
. Bookmark the permalink