N
N
Narek2014-11-05 03:16:41
Zend Framework
Narek, 2014-11-05 03:16:41

How to download the contents of a torrent file using PHP?

It is necessary to implement the download of video from torrent files on the site.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
Boris Benkovsky, 2014-11-05
@benbor

Alexander Aksentiev : Well, why are you misleading people
1. Torrent is a protocol, and can be implemented in any Turing complete programming language.
2. TorrentFlux is proof of this. Here is the official README:
TorrentFlux is a PHP based Torrent client that runs on a
web server. Manage all of your Torrent downloads through a
convenient web interface from anywhere.
PS. But, most likely to complete the task for webtop, your solution will be easier

A
Alexander Aksentiev, 2014-11-05
@Sanasol

You need software that will download the torrent. PHP can't do that, phpp can only be a face for a torrent client

M
mind3, 2014-11-05
@mind3

You install the console torrent client :) And then you feed the torrent file with the command via exec in the php script. Profit!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question