<?
/*
+----------------------------------------------------------------------
| 文件名: 易捷域名查询系统 1.0
+----------------------------------------------------------------------
| Copyright 2004-2005 ej99.com 版权所有并保留所有版权
+----------------------------------------------------------------------
|
+----------------------------------------------------------------------
| 作者: ej99.com (易捷网络) QQ:52077696 邮件:wangchun@china.com.cn
+----------------------------------------------------------------------
+----------------------------------------------------------------------
| (定制各类小偷程序极其各类php+mysql程序,请加QQ联系)
+----------------------------------------------------------------------
*/
function whois_info($domain){
if(@$fp = fsockopen('whois.ripn.net',43,$error)){
fputs($fp,"$domain\r\n\r\n");
$info = "";
while(!feof($fp)){
$info .= fgets($fp,1024);
}
fclose($fp);
return $info;
}else{
return '';
}
}
function is_register($domain){
return strstr(whois_info($domain),'type');
}
?>
<HTML><HEAD>
<title>Domaincheck System</title>
<link rel="stylesheet" href="style.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {font-family: "Verdana", "Tahoma", "宋体";font-size: 12px;background-color: #FAFAFA;}
A:link {FONT-SIZE: 13px; COLOR: #005AB4; TEXT-DECORATION: none}
A:visited {FONT-SIZE: 13px; COLOR: #005AB4; TEXT-DECORATION: none}
A:hover {FONT-SIZE: 13px; COLOR: #005AB4; TEXT-DECORATION: underline}
td {font-family: "Verdana", "Tahoma", "宋体";font-size: 12px; color: #005AB4;text-decoration: none;line-height: 140%;}
input {
FONT-SIZE: 12px;
COLOR: #333333;
BACKGROUND-COLOR: #F2F2F2;
font-family: "Verdana", "Tahoma", "宋体";
}
select {
FONT-SIZE: 12px;
COLOR: #333333;
BACKGROUND-COLOR: #F2F2F2;
font-family: "Verdana", "Tahoma", "宋体";
}
-->
</style><title>
</title>
</HEAD>
<BODY bgcolor="#FFFFFF">
<div align=center>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th align="center" valign="middle" scope="row"><TABLE width=600 border=0 align="center" cellPadding=2 cellSpacing=1 bgColor=#000000>
<TBODY>
<TR>
<TD align=middle bgcolor="#E1E1E1" height=30><div align="center" class="style1">COM.RU NET.RU ORG.RU
<a href="index.php"> 易捷域名查询 V-1.0 </a></div></TD>
</TR>
<TR>
<TD align=middle bgColor=#FFFFFF height=120>
<?if(!empty($_GET['domain'])){
if(isset($_GET['whois'])){
if($info = whois_info($_GET['domain'].$_GET['ext'])){
echo str_replace("\n","<br>",$info);
}else{
echo "无该域名的记录";
}
}else{
if(is_register($_GET['domain'].$_GET['ext'])){
echo"该域名已经注册:<a href=\"index.php?whois&domain=".$_GET['domain']."&ext=".$_GET['ext']."\">点此查看 whois 信息 </a>";
}else{
echo"该域名未被注册:<a href=\"index.php\">点此返回查询</a>";
}
}
}else{?>
<form method="get" action="">
<div align="center">
www.
<input type="text" name="domain" id=domain size="20">
<select name="ext" class="time" id=Select1>
<option value=".com.ru" selected>.com.ru</option>
<option value=".net.ru">.net.ru</option>
<option value=".org.ru">.org.ru</option>
</select>
<input type="submit" name="Submit" value="check"></div>
</form>
<?}?>
</TD>
</TR>
<TR>
<TD align=middle bgcolor="#E1E1E1" height=25><div align="center"><strong>
<a href="http://www.ej99.com">易捷网络</a> <a href="http://www.ej99.com/domain/domain.rar">点此下载</a></strong></div></TD>
</TR>
</TBODY>
</TABLE></th>
</tr>
</table>
</div>
</BODY>
</HTML></style>
</script>
<html>
评论0