<?php
$id = "kullaniciadi";
$pw = "sifre";
$postfields = "user=$id&passwrd=$pw&cookielength=60&cookieneverxp=on&submit=Giriş Yap";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 1); // Get the header
curl_setopt($ch, CURLOPT_COOKIEJAR, "/tmp/cookie");
$yazmanagerekyok=curl_setopt($ch, CURLOPT_URL,
"http://www.sehrimetal.com/Smf/index.php?action=login2");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "$postfields");
curl_exec($ch);
$forum=curl_setopt($ch, CURLOPT_URL,'http://www.sehrimetal.com/Smf/forumlinki.php');
curl_exec($ch);
$topic=curl_setopt($ch, CURLOPT_URL,'http://www.sehrimetal.com/Smf/topiclinki.php');
curl_exec($ch);
curl_close($ch);
?>
böyle birşey buldum belki işini çözebilir girişte denemedim ama...