curlgiris.php
$uname = "murat_asl38";
$pass = "******";
$ch = curl_init();
$cookie_new = fopen ("cookie.txt", "w");
curl_setopt($ch, CURLOPT_URL, "http://www.****.com/login.php");
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,"www.***.com&login=".$uname."&pass=".$pass);
curl_setopt ($ch, CURLOPT_WRITEHEADER, $cookie_new);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$icerik = curl_exec($ch);
echo $icerik;
fclose ($cookie_new);
curl_close($ch);
index.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<?php
echo '<meta http-equiv="refresh" content="0; url=curlson.php?session='.$_GET['session'].'"/>';
?>
</head>
<body>
</body>
</html>
<font color="#000000">
curlson.php
$session =$_GET['session'];
$dosya = fopen('cookie.txt','r');
$icerik = fread($dosya, filesize('cookie.txt'));
$dizi = (explode("Set-Cookie: ",$icerik));
$session1=(explode(";",$dizi[1]));
$session1['0'] = trim($session1['0']);
$session2=(explode(";",$dizi[2]));
$session2['0'] = trim($session2['0']);
$session3=(explode(";",$dizi[3]));
$session3['0'] = trim($session3['0']);
$cookie = $session2['0']."; ".$session3['0']."; ".$session1['0'];
$evrendizi = explode(":",$session3['0']);
$evren = str_replace("U_tr","",$evrendizi['0']);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.****.com/index.php?page=overview&session=".$session);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch,CURLOPT_COOKIE,$cookie);
$sayfaicerik= curl_exec($ch);
$satirlar = explode ("toplam",$sayfaicerik);
$sayi = explode ("oyuncu",$satirlar['1']);
$final = trim($sayi['0']);
curl_close($ch);
bu kullandığım phpbb bi forum sitesi yapılanlar bunlardır yardımların için tekrar teşekkürler