• 23-09-2010, 14:44:50
    #1
    Merhaba, Bir ara laızm olmuştu kendim için yapmıştım.Belki işinize yarayabilir..
    Yazılan tc nin Sınav Sonuçlarını Getiren Kod parçacığı..
    <HTML>
    <HEAD>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-9">
    <meta http-equiv="content-language" content="TR">
    <title>Aöf Sonuçları</title>
    </HEAD>
    <BODY>
    <?php
    $gonder=strip_tags($_POST['gonder']);
    if ($gonder=='Sorgula') {
    $tc=strip_tags($_POST['tc']);
    $agent = "Mozilla/5.0 (X11; U; Linux x86_64; en; rv:1.9.0.19) Gecko/20080528 Epiphany/2.22"; 
    $url = "http://aofsinav.anadolu.edu.tr/guncel_not.asp"; 
    $post='no='.$tc;
    $ch=curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_REFERER, $url); 
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
    $veri = curl_exec($ch);
    curl_close($ch);
    echo $veri; 
    }else {
    echo '
    <form action="" method="post">
    <fieldset style="width:200px";>
    <legend>Tc Kimlik No:</legend>
    <input type="text" name="tc" maxlength="11"><br>
    <input type="submit" name="gonder" value="Sorgula">
    </fieldset>
    </form>';
    }
    ?>
    </BODY>
    </HTML>
    Belki işinize yarar
  • 23-09-2010, 17:09:06
    #2
    Tskler arkadasim ama kod bankasina paylassaydin.
  • 23-09-2010, 19:04:35
    #3
    tek sayfalık script
  • 23-09-2010, 20:32:56
    #4
    teşekkürler
  • 23-09-2010, 20:58:47
    #5
    Üyeliği durduruldu
    teşekkürler attım bi köşede dursun.
  • 23-09-2010, 21:16:59
    #6
    teşekkürler dostum.