İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

whois alan adı sorgulama

eno-7

0
İyinet Üyesi
Katılım
8 Aralık 2013
Mesajlar
4
Reaction score
0
php whois sorgulama kodu olarak elimde aşağıdaki kod var kullandığım ama hatalı sonuç veriyor bazılarını sorgulamıyor. com.tr,bel.tr,eu gibi bir çok ekledim ama yine sorgulamadı. android bağlantısı yapacağım için sorgum şu şekilde işlemesi gerekiyor. aşağıdaki kodları domain.php olarak kaydedersek adres satırına domain.php?TIKLILAR=iyinet.net,iyinet,com,iyinet.bel.tr,iyinet.com.tr, şeklinde yazdığımızda adres satırına göre domainlerin sorgulamasını yapıyor ve xml e atıyor ama birçok domainde çalışmıyor malesef com.tr,bel.tr,eu gibi daha birçok domain sorgusu çalışmıyor. aşağıdaki kodu biraz düzenleyip yardımcı olabilecek arkadaşlar var mı

Kod:
<?php
 function get_whois_info($domain){
$whoisservers=array(
        array("ac","whois.nic.ac","No match"),
                array("ac.cn","whois.cnnic.net.cn","No entries found"),
                array("ac.jp","whois.nic.ad.jp","No match"),
                array("ac.uk","whois.ja.net","no entries"),
                array("ad.jp","whois.nic.ad.jp","No match"),
                array("adm.br","whois.nic.br","No match"),
                array("adv.br","whois.nic.br","No match"),
                array("aero","whois.information.aero","is available"),
                array("ag","whois.nic.ag","does not exist"),
                array("agr.br","whois.nic.br","No match"),
                array("ah.cn","whois.cnnic.net.cn","No entries found"),
                array("al","whois.ripe.net","No entries found"),
                array("am.br","whois.nic.br","No match"),
                array("arq.br","whois.nic.br","No match"),
                array("at","whois.nic.at","nothing found"),
                array("au","whois.aunic.net","No Data Found"),
                array("art.br","whois.nic.br","No match"),
                array("as","whois.nic.as","Domain Not Found"),
                array("asn.au","whois.aunic.net","No Data Found"),
                array("ato.br","whois.nic.br","No match"),
                array("be","whois.geektools.com","No such domain"),
                array("bg","whois.digsys.bg","does not exist"),
                array("bio.br","whois.nic.br","No match"),
                array("biz","whois.biz","Not found"),
                array("bj.cn","whois.cnnic.net.cn","No entries found"),
                array("bmd.br","whois.nic.br","No match"),
                array("br","whois.registro.br","No match"),
                array("ca","whois.cira.ca","AVAIL"),
                array("cc","whois.nic.cc","No match"),
                array("cd","whois.cd","No match"),
                array("ch","whois.nic.ch","We do not have an entry"),
                array("cim.br","whois.nic.br","No match"),
                array("ck","whois.ck-nic.org.ck","No entries found"),
                array("cl","whois.nic.cl","no existe"),
                array("cn","whois.cnnic.net.cn","no matching record"),
                array("cng.br","whois.nic.br","No match"),
                array("cnt.br","whois.nic.br","No match"),
                array("com","whois.verisign-grs.net","No match"),
                array("com.au","whois.aunic.net","No Data Found"),
                array("com.br","whois.nic.br","No match"),
				array("com.tr","whois.nic.tr","No entries"),
                array("com.cn","whois.cnnic.net.cn","no matching record"),
                array("com.eg","whois.ripe.net","No entries found"),
                array("com.hk","whois.hknic.net.hk","No Match for"),
                array("com.mx","whois.nic.mx","No Encontradas"),
                array("com.ru","whois.ripn.ru","No entries found"),
                array("com.tw","whois.twnic.net","NO MATCH TIP"),
                array("conf.au","whois.aunic.net","No entries found"),
                array("co.jp","whois.nic.ad.jp","No match"),
                array("co.uk","whois.nic.uk","No match for"),
                array("cq.cn","whois.cnnic.net.cn","No entries found"),
                array("csiro.au","whois.aunic.net","No Data Found"),
                array("cx","whois.nic.cx","No match"),
                array("cz","whois.nic.cz","No data found"),
                array("de","whois.denic.de","No entries found"),
                array("dk","whois.dk-hostmaster.dk","No entries found"),
                array("ecn.br","whois.nic.br","No match"),
                array("ee","whois.eenet.ee","NOT FOUND"),
                array("edu","whois.verisign-grs.net","No match"),
                array("edu.au","whois.aunic.net","No Data Found"),
                array("edu.br","whois.nic.br","No match"),
                array("eg","whois.ripe.net","No entries found"),
                array("es","whois.ripe.net","No entries found"),
                array("esp.br","whois.nic.br","No match"),
                array("etc.br","whois.nic.br","No match"),
                array("eti.br","whois.nic.br","No match"),
                array("eun.eg","whois.ripe.net","No entries found"),
                array("emu.id.au","whois.aunic.net","No Data Found"),
                array("eng.br","whois.nic.br","No match"),
                array("far.br","whois.nic.br","No match"),
                array("fi","whois.ripe.net","No entries found"),
                array("fj","whois.usp.ac.fj",""),
                array("fj.cn","whois.cnnic.net.cn","No entries found"),
                array("fm.br","whois.nic.br","No match"),
                array("fnd.br","whois.nic.br","No match"),
                array("fot.br","whois.nic.br","No match"),
                array("fst.br","whois.nic.br","No match"),
                array("fr","whois.nic.fr","No entries found"),
                array("g12.br","whois.nic.br","No match"),
                array("gd.cn","whois.cnnic.net.cn","No entries found"),
                array("ge","whois.ripe.net","no entries found"),
                array("ggf.br","whois.nic.br","No match"),
                array("gl","whois.ripe.net","no entries found"),
                array("gr","whois.ripe.net","no entries found"),
                array("gr.jp","whois.nic.ad.jp","No match"),
                array("gs","whois.adamsnames.tc","is not registered"),
                array("gov","whois.nic.gov","No entries found"),
                array("gs.cn","whois.cnnic.net.cn","No entries found"),
                array("gov.au","whois.aunic.net","No Data Found"),
                array("gov.br","whois.nic.br","No match"),
                array("gov.cn","whois.cnnic.net.cn","No entries found"),
                array("gov.hk","whois.hknic.net.hk","No Match for"),
                array("gob.mx","whois.nic.mx","No Encontradas"),
                array("gs","whois.adamsnames.tc","is not registered"),
                array("gz.cn","whois.cnnic.net.cn","No entries found"),
                array("gx.cn","whois.cnnic.net.cn","No entries found"),
                array("he.cn","whois.cnnic.net.cn","No entries found"),
                array("ha.cn","whois.cnnic.net.cn","No entries found"),
                array("hb.cn","whois.cnnic.net.cn","No entries found"),
                array("hi.cn","whois.cnnic.net.cn","No entries found"),
                array("hl.cn","whois.cnnic.net.cn","No entries found"),
                array("hn.cn","whois.cnnic.net.cn","No entries found"),
                array("hm","whois.registry.hm","(lisanssız)"),
                array("hk","whois.hknic.net.hk","No Match for"),
                array("hk.cn","whois.cnnic.net.cn","No entries found"),
                array("hu","whois.ripe.net","MAXCHARS:500"),
                array("id.au","whois.aunic.net","No Data Found"),
                array("ie","whois.domainregistry.ie","no match"),
                array("ind.br","whois.nic.br","No match"),
                array("imb.br","whois.nic.br","No match"),
                array("inf.br","whois.nic.br","No match"),
                array("info","whois.afilias.info","Not found"),
                array("info.au","whois.aunic.net","No Data Found"),
                array("it","whois.nic.it","No entries found"),
                array("idv.tw","whois.twnic.net","NO MATCH TIP"),
                array("int","whois.iana.org","not found"),
                array("is","whois.isnic.is","No entries found"),
                array("il","whois.isoc.org.il","No data was found"),
                array("jl.cn","whois.cnnic.net.cn","No entries found"),
                array("jor.br","whois.nic.br","No match"),
                array("jp","whois.nic.ad.jp","No match"),
                array("js.cn","whois.cnnic.net.cn","No entries found"),
                array("jx.cn","whois.cnnic.net.cn","No entries found"),
                array("kr","whois.krnic.net","is not registered"),
                array("la","whois.nic.la","NO MATCH"),
                array("lel.br","whois.nic.br","No match"),
                array("li","whois.nic.ch","We do not have an entry"),
                array("lk","whois.nic.lk","No domain registered"),
                array("ln.cn","whois.cnnic.net.cn","No entries found"),
                array("lt","ns.litnet.lt","No matches found"),
                array("lu","whois.dns.lu","No entries found"),
                array("lv","whois.ripe.net","no entries found"),
                array("ltd.uk","whois.nic.uk","No match for"),
                array("mat.br","whois.nic.br","No match"),
                array("mc","whois.ripe.net","No entries found"),
                array("me.uk","whois.nic.uk","No match for"),
                array("med.br","whois.nic.br","No match"),
                array("mil","whois.nic.mil","No match"),
                array("mil.br","whois.nic.br","No match"),
                array("mn","whois.nic.mn","Domain not found"),
                array("mo.cn","whois.cnnic.net.cn","No entries found"),
                array("ms","whois.adamsnames.tc","is not registered"),
                array("mus.br","whois.nic.br","No match"),
                array("mx","whois.nic.mx","No Encontradas"),
                array("name","whois.nic.name","No match."),
                array("ne.jp","whois.nic.ad.jp","No match"),
                array("net","whois.verisign-grs.net","No match"),
                array("net.au","whois.aunic.net","No Data Found"),
                array("net.br","whois.nic.br","No match"),
                array("net.cn","whois.cnnic.net.cn","No entries found"),
                array("net.eg","whois.ripe.net","No entries found"),
                array("net.hk","whois.hknic.net.hk","No Match for"),
                array("net.lu","whois.dns.lu","No entries found"),
                array("net.mx","whois.nic.mx","No Encontradas"),
                array("net.uk","whois.nic.uk","No match for "),
                array("net.ru","whois.ripn.ru","No entries found"),
                array("net.tw","whois.twnic.net","NO MATCH TIP"),
                array("nl","whois.domain-registry.nl","is not a registered domain"),
                array("nm.cn","whois.cnnic.net.cn","No entries found"),
                array("no","whois.norid.no","no matches"),
                array("nom.br","whois.nic.br","No match"),
                array("not.br","whois.nic.br","No match"),
                array("ntr.br","whois.nic.br","No match"),
                array("nu","whois.nic.nu","NO MATCH for"),
                array("nx.cn","whois.cnnic.net.cn","No entries found"),
                array("nz","whois.domainz.net.nz","220 Available"),
                array("plc.uk","whois.nic.uk","No match for"),
                array("odo.br","whois.nic.br","No match"),
                array("oop.br","whois.nic.br","No match"),
                array("or.jp","whois.nic.ad.jp","No match"),
                array("org","whois.pir.org","NOT FOUND"),
                array("org.au","whois.aunic.net","No Data Found"),
                array("org.br","whois.nic.br","No match"),
                array("org.cn","whois.cnnic.net.cn","No entries found"),
                array("org.hk","whois.hknic.net.hk","No Match for"),
                array("org.lu","whois.dns.lu","No entries found"),
                array("org.ru","whois.ripn.ru","No entries found"),
                array("org.tw","whois.twnic.net","NO MATCH TIP"),
                array("org.uk","whois.nic.uk","No match for"),
                array("pl","nazgul.nask.waw.pl","does not exists"),
                array("plc.uk","whois.nic.uk","No match for"),
                array("pp.ru","whois.ripn.ru","No entries found"),
                array("ppg.br","whois.nic.br","No match"),
                array("pro.br","whois.nic.br","No match"),
                array("psi.br","whois.nic.br","No match"),
                array("psc.br","whois.nic.br","No match"),
                array("pt","whois.ripe.net","No entries found"),
                array("qh.cn","whois.cnnic.net.cn","No entries found"),
                array("qsl.br","whois.nic.br","No match"),
                array("rec.br","whois.nic.br","No match"),
                array("ro","whois.rotld.ro","No entries found"),
                array("ru","whois.ripn.ru","No entries found"),
                array("sc.cn","whois.cnnic.net.cn","No entries found"),
                array("sd.cn","whois.cnnic.net.cn","No entries found"),
                array("se","whois.nic-se.se","No data found"),
                array("sg","whois.nic.net.sg","NO entry found"),
                array("sh","whois.nic.sh","No match for"),
                array("sh.cn","whois.cnnic.net.cn","No entries found"),
                array("si","whois.arnes.si","No entries found"),
                array("sk","whois.ripe.net","no entries found"),
                array("slg.br","whois.nic.br","No match"),
                array("sm","whois.ripe.net","no entries found"),
                array("sn.cn","whois.cnnic.net.cn","No entries found"),
                array("srv.br","whois.nic.br","No match"),
                array("st","whois.nic.st","No entries found"),
                array("sx.cn","whois.cnnic.net.cn","No entries found"),
                array("tc","whois.adamsnames.tc","is not registered"),
                array("th","whois.nic.uk","No entries found"),
                array("tj.cn","whois.cnnic.net.cn","No entries found"),
                array("tld.uk","whois.nic.uk","No match for"),
                array("tmp.br","whois.nic.br","No match"),
                array("to","whois.tonic.to","No match"),
                array("tr","whois.ripe.net","Not found in database"),
                array("trd.br","whois.nic.br","No match"),
                array("tur.br","whois.nic.br","No match"),
                array("tv","whois.tv","MAXCHARS:75"),
                array("tv.br","whois.nic.br","No match"),
                array("tw","whois.twnic.net","NO MATCH TIP"),
                array("tw.cn","whois.cnnic.net.cn","No entries found"),
                array("uk","whois.thnic.net","No match for"),
                array("us","whois.nic.us","Not found:"),
                array("va","whois.ripe.net","No entries found"),
                array("vet.br","whois.nic.br","No match"),
                array("vg","whois.adamsnames.tc","is not registered"),
                array("wattle.id.au","whois.aunic.net","No Data Found"),
                array("ws","whois.worldsite.ws","No match for"),
                array("xj.cn","whois.cnnic.net.cn","No entries found"),
                array("xz.cn","whois.cnnic.net.cn","No entries found"),
                array("yn.cn","whois.cnnic.net.cn","No entries found"),
                array("zlg.br","whois.nic.br","No match"),
                array("zj.cn","whois.cnnic.net.cn","No entries found"),
                array("fo","whois.ripe.net","no entries found")
        );
        $whocnt = count($whoisservers);
        for ($x=0;$x<$whocnt;$x++){
                $artld = $whoisservers[$x][0];
                $tldlen = intval(0 - strlen($artld));
                if (substr($domain, $tldlen) == $artld) {
                        $out[0] = $whoisservers[$x][1];
                        $out[1] = $whoisservers[$x][2];
                        return $out;
                }
        }
        return $out;
}
 
function lookup($dom){
	$durum="";
		
        $whoinf = get_whois_info($dom);
        $lusrv = $whoinf[0];
        $notfndtxt = $whoinf[1];
 
        if (!$lusrv) return "";
 
        $fp = fsockopen($lusrv,43);
        fputs($fp, "$dom\r\n");
        $string="";
        while(!feof($fp)){
                $string.= fgets($fp,128);
        }
        fclose($fp);
 
        $reg = "/Whois Server: (.*?)\n/i";
        preg_match_all($reg, $string, $matches);
        $secondtry = $matches[1][0];
 
        if ($secondtry){
                $fp = fsockopen($secondtry,43);
                fputs($fp, "$dom\r\n");
                $string="";
                while(!feof($fp)){
                        $string.=fgets($fp,128);
                }
                fclose($fp);
        }
        if (stristr($string, $notfndtxt)) $data[0] = "1";
        $data[1] = $string;
		
		
		if(strstr($data[1],"Registration Service Provided By")){
		$durum="T.Edilemez";
		}else{
		 $durum="Uygun";
		}
		if(strstr($data[1],"NOTICE AND TERMS OF USE"))	
		$durum="T.Edilemez";
			
		
		//echo $durum;	
			
        return  $durum;
}






			$dm=split(",",$_GET['TIKLILAR']);
			$sayaç = count($dm)-1;
			$xml="<menu>";
			
			
			for ($i = 0; $i < $sayaç; $i++) {
			$xml.="\n<kayit>"."<alan_adi>".$dm[$i]."</alan_adi>"."<durum>".lookup($dm[$i])."----</durum>"."</kayit>";
			}
			$xml.="</menu>";
		


echo $xml;  
//echo  print_r(lookup($_GET["domain"]));


?>
 

eno-7

0
İyinet Üyesi
Katılım
8 Aralık 2013
Mesajlar
4
Reaction score
0
Ek Olarak: aşağıdaki kodu buldum sorgulama işlemini yapıyor ama üstteki koda dönüştüremedim yardımcı olur musunuz
Kod:
<?php

function wekiler_sorgu($alan_adi) {

// domain adının alınması:
$alan_adi = strtolower(trim($alan_adi));
$alan_adi = preg_replace('/^http:\/\//i', '', $alan_adi);
$alan_adi = preg_replace('/^www\./i', '', $alan_adi);
$alan_adi = explode('/', $alan_adi);
$alan_adi = trim($alan_adi[0]);

$_domain = explode('.', $alan_adi);
$lst = count($_domain)-1;
$ext = $_domain[$lst];

$servers = array(
"biz" => "whois.neulevel.biz",
"com" => "whois.internic.net",
"us" => "whois.nic.us",
"coop" => "whois.nic.coop",
"info" => "whois.afilias.info",
"name" => "whois.nic.name",
"net" => "whois.internic.net",
"gov" => "whois.nic.gov",
"edu" => "whois.internic.net",
"mil" => "rs.internic.net",
"int" => "whois.iana.org",
"ac" => "whois.nic.ac",
"ae" => "whois.uaenic.ae",
"at" => "whois.ripe.net",
"au" => "whois.aunic.net",
"be" => "whois.dns.be",
"bg" => "whois.ripe.net",
"br" => "whois.registro.br",
"bz" => "whois.belizenic.bz",
"ca" => "whois.cira.ca",
"cc" => "whois.nic.cc",
"ch" => "whois.nic.ch",
"cl" => "whois.nic.cl",
"cn" => "whois.cnnic.net.cn",
"cz" => "whois.nic.cz",
"de" => "whois.nic.de",
"fr" => "whois.nic.fr",
"hu" => "whois.nic.hu",
"ie" => "whois.domainregistry.ie",
"il" => "whois.isoc.org.il",
"in" => "whois.ncst.ernet.in",
"ir" => "whois.nic.ir",
"mc" => "whois.ripe.net",
"to" => "whois.tonic.to",
"tv" => "whois.nic.tv",
"ru" => "whois.ripn.net",
"org" => "whois.pir.org",
"aero" => "whois.information.aero",
"nl" => "whois.domain-registry.nl",
"tr" => "whois.nic.tr",
"jp" => "whois.jprs.jp",
"mobi" => "whois.dotmobiregistry.net",
"us" => "whois.nic.us",
"me" => "whois.nic.me",
"asia"=> "whois.nic.asia",
"nl"=> "whois.domain-registry.nl",
"co.uk"=> "whois.nic.uk",
"su" => "whois.ripn.net",
"it" => "whois.nic.it",
"tv" => "tvwhois.verisign-grs.com",
"in" => "whois.inregistry.net",
"ms" => "whois.nic.ms",
"ws"=> "whois.nic.ws",
"ru" => "whois.ripn.net",
"k12.tr" => "whois.nic.tr",
"eu" => "whois.eu",
"cx" => "whois.nic.cx",
"ms" => "whois.nic.ms",
"mu" => "whois.nic.mu",
"gov.tr" => "whois.nic.tr",
"tl" => "whois.nic.tl",
"tk" => "whois.dot.tk",
"tc" => "whois.adamsnames.tc",
"af" => "whois.nic.af",
"co" => "whois.nic.co",
"de" => "whois.denic.de",
"xxx" => "whois.nic.xxx",
"bel.tr" =>"whois.nic.tr",
"biz.tr" => "whois.nic.tr",
"info.tr" =>"whois.nic.tr"
);

if (!isset($servers[$ext])){
die('Hata : Servere ulasilamadi');
}

$nic_server = $servers[$ext];

$output = '';

if ($conn = fsockopen ($nic_server, 43)) {
fputs($conn, $alan_adi."\r\n");
while(!feof($conn)) {
$output .= fgets($conn,128);
}
fclose($conn);
}
else { die('Hata: Baglanti kurulamiyor ' . $nic_server . '!'); }

return $output;
}


if (!isset ($_REQUEST['alanadi']) ) $alanadi =""; else $alanadi =$_REQUEST['alanadi'];
if (!isset ($_REQUEST['uzanti']) ) $uzanti =""; else $uzanti =$_REQUEST['uzanti'];

$serverlist=array("whois.crsnic.net","whois.nic.tr");
?>
	<html>
	<head>
    <title>Medyabim İnternet Hizmetleri - Datacenter, Sunucu Kiralama, Sunucu Barındırma, Web Hosting, Domain, Reseller, E</title>
	<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
    <meta http-equiv="Content-Language" content="tr-TR">
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <link href="icon.png" rel="apple-touch-icon"/>
    <meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport"/>
	<script language="javascript" type="text/javascript" src="https://www.medyabim.com.tr/js/common/functions.js"></script>
	<script language="javascript" type="text/javascript" src="https://www.medyabim.com.tr/js/common/SpryCollapsiblePanel.js"></script>
	<script language="javascript" type="text/javascript" src="https://www.medyabim.com.tr/js/common/formcheck.php"></script>
	<style>
		body {  margin: 0; padding: 0; font-size:11px; font-family: Calibri}
		.uzanclass tr td { font-size: 13px;}
	</style>	
</head>
<body link="#000000" vlink="#000000" alink="#000000">

<center>

<?php

if (!isset($_REQUEST['sorgu']) )
{
//echo "domain = ". $alanadi."–uzanti =".$uzanti[$sayac]."–"."<br>";
?>
<form id="alan_adi_kontrol" name="alanadikontrol" method="post" action="index.php">

<input type="hidden" value="check" name="action">
 <table border="0" cellpadding="0" width="95%" >
<tr>
	<td align=center><br>
	<a href="index.php"><img src="img/medyabim.jpg" border="0" style="margin-bottom: 10px" /></a><br><hr>
	Sorgulamak istediğiniz alanadınızı giriniz.<br>
	<input class="formfield" id="alanadi" maxLength="255" size="40" name="alanadi" style="height: 32px; padding: 5px">
	</td>
</tr>
<tr>
	<td align=center valign=top>
	<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" class="uzanclass" width="100%" align="center">
	<tr>
		<td><input type="checkbox" value="com" checked name="uzanti[]"><b>com</b></td>
		<td><input type="checkbox" value="net" checked name="uzanti[]"><b>net</b></td>
		<td><input type="checkbox" value="org" checked name="uzanti[]"><b>org</b></td>
		<td><input type="checkbox" value="com.tr" name="uzanti[]"><b>com.tr</b></td>
		
	</tr>
	<tr><td><input type="checkbox" value="org.tr" name="uzanti[]"><b>org.tr</b></td>
		<td><input type="checkbox" value="info.tr" name="uzanti[]"><b>info.tr</b></td>
		<td><input type="checkbox" value="web.tr" name="uzanti[]"><b>web.tr</b></td>
		<td><input type="checkbox" value="gen.tr" name="uzanti[]"><b>gen.tr</b></td>
		
	</tr>
	<tr>
		<td><input type="checkbox" value="biz.tr" name="uzanti[]"><b>biz.tr</b></td>
		<td><input type="checkbox" value="gov.tr" name="uzanti[]"><b>gov.tr</b></td>
		<td><input type="checkbox" value="bel.tr" name="uzanti[]"><b>bel.tr</b></td>
		<td><input type="checkbox" value="tv.tr" name="uzanti[]"><b>tv.tr</b></td>		
	</tr>
	<tr>		
		<td><input type="checkbox" value="info" name="uzanti[]"><b>info</b></td>
		<td><input type="checkbox" value="biz" name="uzanti[]"><b>biz</b></td>
		<td><input type="checkbox" value="mobi" name="uzanti[]"><b>mobi</b></td>
		<td><input type="checkbox" value="asia" name="uzanti[]"><b>asia</b></td>		
	</tr>
	<tr>
		<td><input type="checkbox" value="co.uk" name="uzanti[]"><b>co.uk</b></td>
		<td><input type="checkbox" value="eu" name="uzanti[]"><b>eu</b></td>
		<td><input type="checkbox" value="tv" name="uzanti[]"><b>tv</b></td>
		<td><input type="checkbox" value="tk" name="uzanti[]"><b>tk</b></td>
	</tr>
	<tr>
		<td><input type="checkbox" value="ru" name="uzanti[]"><b>ru</b></td>
		<td><input type="checkbox" value="tc" name="uzanti[]"><b>tc</b></td>
		<td><input type="checkbox" value="co" name="uzanti[]"><b>co</b></td>
		<td><input type="checkbox" value="de" name="uzanti[]"><b>de</b></td>
	</tr>
	</table>
	</td>
</tr>
<tr>
	<td align=center valign=top>
<input type="submit" name="sorgu" value="SORGULA" style="width:110px; height:35px; font-size:13pt; font-weight:bold;"/>
<p>

</td>
</tr>
</table>
</form>
<?php
} else {
//echo "domain = ". $alanadi."–uzanti =".$uzanti[$sayac]."–"."<br>";
?>

<table bgcolor="#ffffff" border="0" align="center" cellpadding="0" cellspacing="0" width="99%">
<tr>
<td nowrap="nowrap"><br>
<a href="index.php"><img src="img/medyabim.jpg" border="0" style="margin-bottom: 10px" /></a><br><hr>
<b><font face="calibri">Domain Sorgulama Sonucu</font></b></td>
</tr>
<tr>
<td>
<form action="https://www.siteadi.com/cart.php" method="post" name="myform">
<table border="0" cellpadding="0" cellspacing="0" width="97%" align="left">

<?php

if(isset ($alanadi) ) {
$deger = 0;
$uzansay = count($_POST["uzanti"]);
for ($sayac=0;$sayac < $uzansay;$sayac++) {
if (!isset ($uzanti[$sayac]) ) continue;

	//echo "server = " .$useserver."–";
	$alanadibilgisi = wekiler_sorgu($alanadi.'.'.$uzanti[$sayac]);

	//$linebyline=explode("\n",$rawoutput);
	$whoisgoster =  "<PRE>".$alanadibilgisi."</PRE>";
	if(stristr($alanadibilgisi,"No match") or stristr($alanadibilgisi,"No entries" ) or stristr($alanadibilgisi, "NOT FOUND" ) ){
	$alan_adi_dolumu = false;

	}  else {
	$alan_adi_dolumu = true;
	}
$deger = $deger + 1;
?>
<tr height="25" align="center">
<td align="left">
<?php if (!$alan_adi_dolumu) {?><input type="checkbox" id="cid<?echo $deger?>" name="check<? echo $deger?>" value="<?echo $alanadi.".".$uzanti[$sayac]?>" /><?}?>

<label for="cid<?=$deger?>" style="cursor: pointer"><?echo $alanadi.".".$uzanti[$sayac]?></label>
</td>
<?php if ($alan_adi_dolumu) {?>
<td><a href="whoisfun.php?sld=<?echo $alanadi;?>&tld=<?echo $uzanti[$sayac];?>" style="font-weight:bold; color:blue;">Whois</a></td>
<td><b><? echo "<font color='red'>Dolu</font>";  ?></b></td>

<? } else {?>
<td><b><? echo "<a href='http://www.siteadi.com/cart.php?action=update&rtype=register&ca=processdomains&x1=c1&numdomains=1&check1=".$alanadi.".".$uzanti[$sayac]."'><font color='green'>Satın Al</font></a>";?></b></td>
<? } ?>
</tr>

<?php } ?>

	<input type="hidden" name="x1" value="c1">
	<input type="hidden" name="action" value="update">
	<input type="hidden" name="rtype" value="register">
	<input type="hidden" name="ca" value="processdomains">
	<input type="hidden" name="numdomains" value="<? echo $deger?>">
	<tr><td colspan="3"><br><input type='submit' name='submit' value='» Sepete Ekle' style="font-weight:bold;" /></td></tr>
</table>
</form>
</td>
</tr>
</table>


<?php
}
}
?>
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Üst