• 18-03-2010, 12:59:36
    #1
    Üyeliği durduruldu
    <form name="loginForm" method="post" onsubmit="javascript:showBusyLayer()" action="">
    		<div class="login">
    			<span>K.Adı:</span><div class="input"><div><input type="text" name="login_name" /></div></div>
    		</div>
    		<div class="pass">
    			<span>Şifre:</span><div class="input"><div><input type="password" name="login_password" /></div></div>
    		</div>
    		<input name="login" type="hidden" id="login" value="submit" />
    		<input class="btn" onclick="submit();" onmouseover="this.className='btnhover'" onmouseout="this.className='btn'" name="image" value="Âîéòè" type="image" src="/images/spacer.gif" />
    		</form>
    s.a arkadaşlar
    curl ile veri alırken kullanıcı girişi yapmam gerekiyor. üstteki kodlar giriş yapacağım sitenin form kodları. yardımcı olursanız sevinirim
  • 18-03-2010, 16:17:41
    #2
    Üyeliği durduruldu
    <?php
      $cookie_file_path = "cookie.txt"; 
        
            
        $fp = fopen($cookie_file_path,'wb');    
        fclose($fp);
        
        $agent = "Mozilla/4.0 (Windows; U; Windows NT 6.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7";
        $reffer = "http://www.downlive.net/311-datalife-engine-7.5-turkce-downlive.net.html";
            
            
             $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL,"http://www.downlive.net/311-datalife-engine-7.5-turkce-downlive.net.html");    
            curl_setopt($ch, CURLOPT_USERAGENT, $agent);
            curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_fie_path);
            curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
            curl_setopt($ch, CURLOPT_REFERER, "http://www.downlive.net/311-datalife-engine-7.5-turkce-downlive.net.html");
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
            curl_setopt($ch, CURLOPT_HEADER, 1);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
            curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
            curl_setopt($ch, CURLOPT_POSTFIELDS, "login_name=++++&login_password=++++&login");
            
              $htmdl = curl_exec($ch);
              echo $htmdl;
    ?>
    böyle bi kod yaptım olmadı yardımcı olan yokmu ya
  • 18-03-2010, 18:49:47
    #3
    <?php
      $cookie_file_path = "cookie.txt"; 
        
            
        $fp = fopen($cookie_file_path,'wb');    
        fclose($fp);
        
        $agent = "Mozilla/4.0 (Windows; U; Windows NT 6.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7";
        $reffer = "http://www.downlive.net/311-datalife-engine-7.5-turkce-downlive.net.html";
            
            
             $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL,"http://www.downlive.net/311-datalife-engine-7.5-turkce-downlive.net.html");    
            curl_setopt($ch, CURLOPT_USERAGENT, $agent);
            curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_fie_path);
            curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
            curl_setopt($ch, CURLOPT_REFERER, "http://www.downlive.net/311-datalife-engine-7.5-turkce-downlive.net.html");
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
            curl_setopt($ch, CURLOPT_HEADER, 1);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
            curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
            curl_setopt($ch, CURLOPT_POSTFIELDS, "login_name=++++&login_password=++++&login=submit");
            
              $htmdl = curl_exec($ch);
              echo $htmdl;
    ?>
    Bu Şekilde Denermisin ?
  • 18-03-2010, 19:03:30
    #4
    Üyeliği durduruldu
    teşekkürler hocam. giriş yapabildim sonunda. repim yok ama söz repim olduğu zamna rep vercem çok teşekkürler
  • 18-03-2010, 19:15:00
    #5
    TuRKTiM adlı üyeden alıntı: mesajı görüntüle
    teşekkürler hocam. giriş yapabildim sonunda. repim yok ama söz repim olduğu zamna rep vercem çok teşekkürler
    Sözünü Unutma ama Olduğuna sevindim