<?php
$pagetitle='WHOIS Sonuçları';
$companyname='BurtiNET İnternet Hizmetleri';
function is_valid_domain_name($domain_name)
{
return (preg_match("/^([a-z\d](-*[a-z\d])*)(\.([a-z\d](-*[a-z\d])*))*$/i", $domain_name) //valid chars check
&& preg_match("/^.{1,253}$/", $domain_name) //overall length check
&& preg_match("/^[^\.]{1,63}(\.[^\.]{1,63})*$/", $domain_name) ); //length of each label
}
$domain=$_REQUEST["domain"];
if(is_valid_domain_name($_REQUEST["domain"])==true){
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?=$pagetitle?> - <?=$companyname?></title>
<link href="templates/default/css/bootstrap.css" rel="stylesheet">
<link href="templates/default/css/whmcs.css" rel="stylesheet">
</head>
<body class="popupwindow">
<h2>WHOIS Sonuçları - <?=$domain?></h2>
<div class="popupcontainer">
<?php
$site="http://www.whois.com.tr/?q=".$domain;
$icerik=file_get_contents($site);
$icerik=explode('<div class="result">',$icerik);
$icerik=explode('</div>',$icerik[1]);
echo $icerik[0];
?>
<br />
<br />
</div>
<p class="textcenter"><input type="button" value="Kapat" class="btn btn-primary" onclick="window.close()" /></p>
</body>
</html>
<?
}else{
echo 'Hatalı';
}
?> WHMCS Alternatif WHOIS Server
2
●694
- 10-07-2014, 01:48:15whois.php'yi aşağıdaki kod ile değiştirerek kullanabilirsiniz.
- 18-07-2014, 02:15:50yukarıda kodlar ile değiştireceksiniz hocam zaten içeriğini silip yukarıdaki kodları yazınKerem adlı üyeden alıntı: mesajı görüntüle
