Devam Ediyor

510418 Simple php proxy / download script

Hello,

I need a php script that will do the following:

-Take as input a txt file with a list of proxies (one proxy per line e.g.

1.1.1.1:8080

2.2.2.2:3239

.

.

.

The script should use these proxies and create one connection for each one at the same time. For example if there are 20 proxies, 20 connections should be created at the same time.

Each connection should fetch and download the contents of a URL which will be read from a database. The database is like that:

id, url, filesize

Once the contents are downloaded, they should be saved as [url removed, login to view] and the filesize cell of the database should be updated with the filesize of the file written to disk.

Please note the following:

->There should be concurrent connections, 1 for every proxy.

->Each connection should not download the same urls as another connection. So you need to create a script that will somehow lock the rows that each connection is using so that the other connection reads other rows from the database.

->You are free to modify the database and add columns or create new tables.

Beceriler: Her şey Kabul, PHP, Kabuk Betiği, Web Sitesi Yönetimi

Daha fazlasını görün: php free download, create shell script, example shell script, proxy php, php proxy, download time, php modify php file, php connection, database connection php, shell add file, simple connection, lock time, php read txt, script simple, filesize, read php file shell script, php modify url, file download script php, use proxy list, read txt file php, proxy database, shell script read url, simple database example, simple list urls, download txt

İşveren Hakkında:
( 16 değerlendirme )

Proje NO: #2256349

Seçilen:

phoenixfalls

Check PMB for details.

3 gün içinde 70$ USD
(0 Değerlendirme)
0.0