$ch = curl_init();
...
curl_setopt($ch, CURLOPT_URL, $url1);
$res = curl_exec($ch);
...
curl_setopt($ch, CURLOPT_URL, $url2);
$res = curl_exec($ch);
curl_close($ch);
$ch = curl_init('http://rutracker.org/forum/tracker.php?f=189');
curl_setopt($ch, CURLOPT_USERAGENT, "User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'tm=7');
curl_setopt($ch, CURLOPT_COOKIEJAR, "./rutracker_cookie.txt");
curl_setopt($ch, CURLOPT_COOKIEFILE, "./rutracker_cookie.txt");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = curl_exec($ch);
curl_close($ch);
$ch = curl_init('http://rutracker.org/forum/tracker.php?search_id=yZszkF1dEs5E&start=50');
curl_setopt($ch, CURLOPT_USERAGENT, "User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_COOKIEJAR, "./rutracker_cookie.txt");
curl_setopt($ch, CURLOPT_COOKIEFILE, "./rutracker_cookie.txt");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = curl_exec($ch);
curl_close($ch);