Merhaba. Araştırmalarım sonucu bu işlemi curl ile yapabiliyorum. Bir kaç curl örneği buldum.

Bana sadece login kısmı kaldı.

http://mail.burulas.com.tr/Mondo/lang/sys/Login.aspx

Adresindeki mondo mail için giriş bilgileri nedir?

function curl($url, $post=false)
{
    $user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; tr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6';
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POST, $post ? true : false);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post ? $post : false);
    curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
    $icerik = curl_exec($ch);
    curl_close($ch);
    return $icerik;
}
echo curl("http://www.siteadı.com/login.php", "user_login=kullanici&user_pass=sifre");
buradaki user_login= kısmını txtUsername ve txtPassword kısımlarını normal tarayıcıma yazarak denedim ama giriş yapmadı. Doğal olarakta curl çalışmadı. Teşekkürler.

mail.burulas.com.tr/Mondo/lang/sys/Login.aspx?txtUsername=deneme@deneme.com&txtPasswo rd=123456

kısmı gerekiyor. Teşekkürler.