numanturle adlı üyeden alıntı: mesajı görüntüle
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title></title>
</head>
<body>
<?php
$site = "http://obs.mku.edu.tr/oibs/ogrenci/not_listesi_op.aspx";
$ch = curl_init();
curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com');
curl_setopt($ch, CURLOPT_URL, $site);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$sonuc = curl_exec($ch);
echo $sonuc;
curl_close($ch);
?>
</body>
</html>

Öncelikle ilgin için çok teşekkür ederim ancak yine boş sonuç gösteriyor hocam.


Localde curl sorunu varmış, wampserver kurup deniyorum.


Curl'u hallettim oturum açmış olsam da bu sefer,

7Uzun süre işlem yapılmadığı için
Oturum zaman aşımına uğradı.
Sisteme tekrar giriş yapılması gerekmektedir.

hatası veriyor sanırım bunu da curl ile yaptırmam gerekecek normal oturumu kabul etmeyecek gibi