How can i use the announce list one by one in a single php code?
<p>I am getting torrent announces by requesting in php like (example)</p>

<p>.........../announce<br />
....../announce<br />
......../announce</p>

<p>(Since announcelist may be of any numbers)</p>

<p>Below is the code:</p>

<pre><code>$counter = count($torrent_data['announce-list']);
if ($counter &gt; 0) {
    $announcelist = ($torrent_data['announce-list']);
    echo 'Announce list:&lt;br /&gt;';
    $c = count($announcelist);
    for ($i = 0; $i &lt; $c; $i++) {
        echo $announcelist[$i]['0'] . '&lt;br/&gt;';
    }
} else {
    $announce = $torrent_data['announce'];
    echo 'Announce:' . $announce;
}
</code></pre>

<p>Now i have a php code where i actually want to request all this announce one by one to get seeds, leechers etc...</p>

<p>Now my question is, how can i use the announce list one by one in a single php code? Example:</p>

<pre><code>$ret = $scraper-&gt;scrape('http://tracker.tld:port/announce',array('0000000000000000000000000000000000000000'));
</code></pre>

<p>Please anyone help me.</p>
