links file 200ok txt potok for count links urllist array_slice links p

1
2
3
4
5
6
7
8
$links = file("200ok.txt");
$potok = "3";
for($n=0;$n<count($links) - 1;$n++) {
$urllist = array_slice($links,$n, $potok);
download($urllist);
$n = $n+$potok;
}