F
F
fr1zzer2017-03-16 15:10:22
Software and Internet Services
fr1zzer, 2017-03-16 15:10:22

How to generate a list of links?

There is a link like site.com/trend/1
I need to make a list in .txt like this

http://site.com/trend/1
http://site.com/trend/2
http://site.com/trend/3
http://site.com/trend/4
и так до
http://site.com/trend/350000

If any ready-made generators?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fr1zzer, 2017-03-17
@fr1zzer

Question closed, here is the php code

$list = "";
 
for($i=1; $i <= 350000; $i++)
 $list.= "http://site.com/trend/".$i.PHP_EOL;
 
file_put_contents("list.txt", $list);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question