potok for count links for potok-1 urllist links download urllist funct

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
$potok = "3";
for($n=0;$n<count($links) - 1;$n++) {
for ($m = 0; $m < $potok-1; $m++){
$urllist[$m] = $links[$n];
download($urllist);
}
}
function download($urllist) {
.....
}