只做了一部份,IP查询请大家自己照着我里边的样例自己完成吧!
演示:http://www.goalercn.com/demo/searcher.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "' target=_blank rel=nofollow>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<META NAME="Author" CONTENT="goaler" />
<META NAME="Keywords" CONTENT="手机号码归属地,ip,google pr,邮编,身份证,查询,升位,goaler,www.goalercn.com" />
<META NAME="Description" CONTENT="手机号码归属地,ip,google pr,邮编,身份证,查询,升位,goaler,www.goalercn.com" />
<title>常用查询</title>
<style type="text/css">
<!--
body {font:14px Tahoma,Verdana,"宋体"}
input,object {color: #000000;font:12px Tahoma,Verdana,"宋体";}
form {margin:0}
A:link{COLOR:#000066;TEXT-DECORATION:none}
A:visited{COLOR:#000066;TEXT-DECORATION:none}
A:hover{COLOR:#FF8D00;TEXT-DECORATION:underline}
-->
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
String.prototype.Trim = function()
{
return this.replace(/(^\s*)|(\s*$)/g, "");
}
function checkMobile(){
var sMobile = document.mobileForm.MobileNumber.value.Trim();
if(!(/^13[0-9]\d{4,8}$/.test(sMobile))){
alert("请输入完整的11位手机号或手机号前七位");
document.mobileForm.MobileNumber.focus();
return false;
}
}
function checkPR()
{
if (document.prForm.domainName.value.Trim() == "")
{
return false;
}
}
function checkZone2NumberForm()
{
if (document.Zone2NumberForm.zoneName.value.Trim() == "")
{
alert("请输入地区名称!");
document.Zone2NumberForm.zoneName.focus();
return false;
}
}
function checkNumber2ZoneForm()
{
var sZoneNumber = document.Number2ZoneForm.zoneNumber.value.Trim();
if (!(/^0\d{2,3}$/.test(sZoneNumber)))
{
alert("请输入3位或4位区号");
document.Number2ZoneForm.zoneNumber.focus();
return false;
}
}
function checkIdentityForm()
{
var sIdentityNumber = document.identityForm.identityNumber.value.Trim();
if (!(/^\d{15}$|^\d{18}$|^\d{17}x$/.test(sIdentityNumber)))
{
alert("请输入15位或18位身份证号码");
document.identityForm.identityNumber.focus();
return false;
}
}
function checkIdentityUpForm()
{
var sIdentityNumber = document.identityUpForm.identityNumber.value.Trim();
if (!(/^\d{15}$/.test(sIdentityNumber)))
{
alert("请输入15位身份证号码");
document.identityUpForm.identityNumber.focus();
return false;
}
}
//-->
</SCRIPT>
</head>
<body>
<%
'==========请保留以下信息===============
'作者(Author):goaler
'主页(homepage):http://www.goalercn.com
'=======================================
on error resume next
Dim url,PostStr,sType,getContent,i
sType = Trim(Request.QueryString("sType"))
%>
<fieldset>
<legend><strong>手机号归属地查询</strong></legend>
<div>
<%
Dim MobileNumber
MobileNumber = Trim(Request.Form("MobileNumber"))
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form method="post" name="mobileForm" action="searcher.asp?sType=mobile" onsubmit="return checkMobile()">
请输入手机号码段:<input type="text" name="MobileNumber" value="<%=MobileNumber%>" onfocus="select()" /> <input type="submit" id="subBtn" value="查 询" />
输入完整的11位手机号或手机号前七位
</form>
</div>
<%
IF(sType = "mobile" AND MobileNumber<>"")THEN
Dim getArea,getType
PostStr = "action=mobile&mobile="&MobileNumber
getContent=GetURL("http://www.ip138.com:8080/search.asp",PostStr)
getArea = RegExpText(getContent,"卡号归属地</TD>((.|\n)*?)</TD>")
getType = RegExpText(getContent,"卡 类 型</TD>((.|\n)*?)</TD>")
Response.Write("<UL>")
Response.Write("<li><strong>手机号码段:</strong><font color=""#008000""><strong>" & MobileNumber & "</strong></font></li>")
Response.Write("<li><strong>号码归属地:</strong><font color=""#008000""><strong>" & Replace(getArea,",","") & "</strong></font></li>")
Response.Write("<li><strong>卡 类 型:</strong><font color=""#008000""><strong>" & Replace(getType,",","") & "</strong></font></li>")
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<fieldset>
<legend><strong>Google PR 值查询</strong></legend>
<div>
<%
Dim domainName
domainName = Replace(Replace(LCASE(Trim(Request.Form("domainName"))),"www.",""),"http://","")
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="prForm" method="post" action="searcher.asp?sType=pr" onsubmit="return checkPR()">
请输入域名 :www.<input type="text" name="domainName" value="<%=domainName%>" /> <input type="submit" value="提 交" />
不要带 http://www.
</form>
</div>
<%
IF(sType = "pr" AND domainName<>"")THEN
PostStr = ""
getContent=GetURL("http://so.5eo.com/info.php?action=ra ... "&domainName,PostStr)
getContent=RegExpText(getContent,"在满分10分评价中获得 <font color=#FB5E3C>((.|\n)*?)</font> 分")
'getContent=ReplaceKey(getContent,"在满分10分评价中获得 <font color=#FB5E3C>|||||</font> 分")
Dim ArrayPr
ArrayPr=Split(getContent,",")
Response.Write("<UL>")
Response.Write("<li><a href="""&domainName&" ' target=_blank rel=nofollow>http://"&domainName&""" target=""new""><font color=" ... t;&domainName&"</strong></font></a> 的Google PageRank值:<font color=""#FF0000""><strong>"&ArrayPr(0)&"</strong></font></li>")
Response.Write("<li><a href=""www."&domainName&" ' target=_blank rel=nofollow>http://www."&domainName&""" target=""new""><font color=" ... uot;&domainName&"</font></strong></a> 的Google PageRank值:<font color=""#FF0000""><strong>"&ArrayPr(1)&"</strong></font>")
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<fieldset>
<legend><strong>地区<->区号查询</strong></legend>
<div>
<div style="padding-left:23px;margin-bottom:8px;">
<%
Dim zoneName
zoneName = Trim(Request.Form("zoneName"))
%>
<form name="Zone2NumberForm" method="post" action="searcher.asp?sType=zone2number" onsubmit="return checkZone2NumberForm()">
地 区 <strong>→</strong> 区 号:<input type="text" name="zoneName" value="<%=zoneName%>" onfocus="select()" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "zone2number" AND zoneName <> "")THEN
Dim getNumber,ArrayNumber
PostStr = "area=" & escape(zoneName) & "&action=area2zone"
getContent=GetURL("http://www.ip138.com/post/search.asp",PostStr)
getNumber = RegExpText(getContent,"<TR><TD class=tdc2>◎((.|\n)*?)</TD>")
Response.Write("<UL>")
IF(getNumber="")THEN
Response.Write("<li><strong><font color=""#FF0000"">没有搜索到记录</font></strong></li>")
ELSE
ArrayNumber = split(getNumber,",")
IF(isArray(ArrayNumber))THEN
For i=0 TO UBOUND(ArrayNumber)-1
Response.Write("<li><strong><font color=""#008000"">"&Replace(ArrayNumber(i),",","")&"</font></strong></li>")
Next
ELSE
Response.Write("<li><strong><font color=""#008000"">"&Replace(getNumber,",","")&"</font></strong></li>")
END IF
END IF
Response.Write("</UL>")
END IF
Dim zoneNumber
zoneNumber = Trim(Request.Form("zoneNumber"))
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="Number2ZoneForm" method="post" action="searcher.asp?sType=number2zone" onsubmit="return checkNumber2ZoneForm()">
区 号 <strong>→</strong> 地 区:<input type="text" name="zoneNumber" value="<%=zoneNumber%>" onfocus="select()" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "number2zone" AND zoneNumber <> "")THEN
Dim getZone,ArrayZone
PostStr = "action=zone2area&zone="&zoneNumber
getContent=GetURL("http://www.ip138.com/post/search.asp",PostStr)
getZone = RegExpText(getContent,"<TR><TD class=tdc2>◎((.|\n)*?)</TD>")
Response.Write("<UL>")
IF(getZone="")THEN
Response.Write("<li><strong><font color=""#FF0000"">没有搜索到记录</font></strong></li>")
ELSE
ArrayZone = split(getZone,",")
IF(isArray(ArrayZone))THEN
For i=0 TO UBOUND(ArrayZone)-1
Response.Write("<li><strong><font color=""#008000"">"&Replace(ArrayZone(i),",","")&"</font></strong></li>")
Next
ELSE
Response.Write("<li><strong><font color=""#008000"">"&Replace(getZone,",","")&"</font></strong></li>")
END IF
END IF
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<fieldset>
<legend><strong>IP地理位置查询</strong></legend>
<div>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="ipForm" method="post" action="searcher.asp?sType=ip" onsubmit="return checkIPForm()">
待查询的IP地址:<input type="text" name="ipAddress" value="<%=ipAddress%>" /> <input type="submit" value="提 交" />
</form>
</div>
</div>
</fieldset>
<fieldset>
<legend><strong>身份证号码查询</strong></legend>
<div>
<%
Dim identityNumber
identityNumber = Trim(Request.Form("identityNumber"))
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="identityForm" method="post" action="searcher.asp?sType=identity" onsubmit="return checkIdentityForm()">
15或18位身份证号:<input type="text" name="identityNumber" value="<%=identityNumber%>" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "identity" AND identityNumber<>"")THEN
Dim ArrayIDCardInfo
PostStr = "action=idcard&userid="&identityNumber
getContent=GetURL("http://www.oicq88.com/idsearch/index.asp",PostStr)
getContent=RegExpText(getContent,":</font>((.|\n)*?)<BR>")
Response.Write("<UL>")
IF(getContent="")THEN
Response.Write("<li>身份证号码错误或没有查询到相关数据</li>")
ELSE
ArrayIDCardInfo = split(getContent,",")
Response.Write("<li><strong>性 别:</strong><font color=""#008000""><strong>"&Replace(ArrayIDCardInfo(0),",","")&"</strong></font></li>")
Response.Write("<li><strong>出生日期:</strong><font color=""#008000""><strong>"&Replace(ArrayIDCardInfo(1),",","")&"</strong></font></li>")
Response.Write("<li><strong>发证地区:</strong><font color=""#008000""><strong>"&Replace(ArrayIDCardInfo(2),",","")&"</strong></font></li>")
END IF
Response.Write("</UL>")
END IF
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="identityUpForm" method="post" action="searcher.asp?sType=upIdentity" onsubmit="return checkIdentityUpForm()">
15位号码升至18位:<input type="text" name="identityNumber" value="<%=identityNumber%>" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "upIdentity" AND identityNumber<>"")THEN
PostStr = "action=upto18&userid="&identityNumber
getContent=GetURL("http://www.oicq88.com/idsearch/index.asp",PostStr)
getContent=RegExpText(getContent,"升位后号码:((.|\n)*?)</TD>")
Response.Write("<UL>")
IF(getContent="")THEN
Response.Write("<li>身份证号码错误或没有查询到相关数据</li>")
ELSE
Response.Write("<li><strong>升位(18位)后号码是:</strong><font color=""#008000""><strong>"&Replace(getContent,",","")&"</strong></font></li>")
END IF
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<div style="padding:15px;text-align:center;">
DESIGNED BY <a href="goaler
' target=_blank rel=nofollow>http://www.goalercn.com" target=" ... R</a><BR />
</div>
</body>
</html>
<%
Function ByteToStr(vIn)
Dim strReturn,i,ThisCharCode,innerCode,Hight8,Low8,NextCharCode
strReturn = ""
For i = 1 To LenB(vIn)
ThisCharCode = AscB(MidB(vIn,i,1))
If ThisCharCode < &H80 Then
strReturn = strReturn & Chr(ThisCharCode)
Else
NextCharCode = AscB(MidB(vIn,i+1,1))
strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
i = i + 1
End If
Next
ByteToStr = strReturn
End Function
Function GetURL(url,PostStr)
Set Retrieval = Server.CreateObject("Microsoft.XMLHTTP")
With Retrieval
.Open "POST", url, false ,"" ,""
.setRequestHeader "Content-Type","application/x-www-form-urlencoded"
.Send(PostStr)
GetURL = .ResponseBody
End With
Set Retrieval = Nothing
GetURL=ByteToStr(GetURL)
End Function
Function RegExpText(strng,regStr)
Dim regEx,Match,Matches,RetStr
Set regEx = New RegExp
regEx.Pattern = regStr
regEx.IgnoreCase = True
regEx.Global = True
Set Matches = regEx.Execute(strng)
For Each Match in Matches
RetStr = RetStr & regEx.Replace(Match.Value,"$1") & ","
Next
RegExpText = RetStr
set regEx=nothing
End Function
%>
演示:http://www.goalercn.com/demo/searcher.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "' target=_blank rel=nofollow>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<META NAME="Author" CONTENT="goaler" />
<META NAME="Keywords" CONTENT="手机号码归属地,ip,google pr,邮编,身份证,查询,升位,goaler,www.goalercn.com" />
<META NAME="Description" CONTENT="手机号码归属地,ip,google pr,邮编,身份证,查询,升位,goaler,www.goalercn.com" />
<title>常用查询</title>
<style type="text/css">
<!--
body {font:14px Tahoma,Verdana,"宋体"}
input,object {color: #000000;font:12px Tahoma,Verdana,"宋体";}
form {margin:0}
A:link{COLOR:#000066;TEXT-DECORATION:none}
A:visited{COLOR:#000066;TEXT-DECORATION:none}
A:hover{COLOR:#FF8D00;TEXT-DECORATION:underline}
-->
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
String.prototype.Trim = function()
{
return this.replace(/(^\s*)|(\s*$)/g, "");
}
function checkMobile(){
var sMobile = document.mobileForm.MobileNumber.value.Trim();
if(!(/^13[0-9]\d{4,8}$/.test(sMobile))){
alert("请输入完整的11位手机号或手机号前七位");
document.mobileForm.MobileNumber.focus();
return false;
}
}
function checkPR()
{
if (document.prForm.domainName.value.Trim() == "")
{
return false;
}
}
function checkZone2NumberForm()
{
if (document.Zone2NumberForm.zoneName.value.Trim() == "")
{
alert("请输入地区名称!");
document.Zone2NumberForm.zoneName.focus();
return false;
}
}
function checkNumber2ZoneForm()
{
var sZoneNumber = document.Number2ZoneForm.zoneNumber.value.Trim();
if (!(/^0\d{2,3}$/.test(sZoneNumber)))
{
alert("请输入3位或4位区号");
document.Number2ZoneForm.zoneNumber.focus();
return false;
}
}
function checkIdentityForm()
{
var sIdentityNumber = document.identityForm.identityNumber.value.Trim();
if (!(/^\d{15}$|^\d{18}$|^\d{17}x$/.test(sIdentityNumber)))
{
alert("请输入15位或18位身份证号码");
document.identityForm.identityNumber.focus();
return false;
}
}
function checkIdentityUpForm()
{
var sIdentityNumber = document.identityUpForm.identityNumber.value.Trim();
if (!(/^\d{15}$/.test(sIdentityNumber)))
{
alert("请输入15位身份证号码");
document.identityUpForm.identityNumber.focus();
return false;
}
}
//-->
</SCRIPT>
</head>
<body>
<%
'==========请保留以下信息===============
'作者(Author):goaler
'主页(homepage):http://www.goalercn.com
'=======================================
on error resume next
Dim url,PostStr,sType,getContent,i
sType = Trim(Request.QueryString("sType"))
%>
<fieldset>
<legend><strong>手机号归属地查询</strong></legend>
<div>
<%
Dim MobileNumber
MobileNumber = Trim(Request.Form("MobileNumber"))
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form method="post" name="mobileForm" action="searcher.asp?sType=mobile" onsubmit="return checkMobile()">
请输入手机号码段:<input type="text" name="MobileNumber" value="<%=MobileNumber%>" onfocus="select()" /> <input type="submit" id="subBtn" value="查 询" />
输入完整的11位手机号或手机号前七位
</form>
</div>
<%
IF(sType = "mobile" AND MobileNumber<>"")THEN
Dim getArea,getType
PostStr = "action=mobile&mobile="&MobileNumber
getContent=GetURL("http://www.ip138.com:8080/search.asp",PostStr)
getArea = RegExpText(getContent,"卡号归属地</TD>((.|\n)*?)</TD>")
getType = RegExpText(getContent,"卡 类 型</TD>((.|\n)*?)</TD>")
Response.Write("<UL>")
Response.Write("<li><strong>手机号码段:</strong><font color=""#008000""><strong>" & MobileNumber & "</strong></font></li>")
Response.Write("<li><strong>号码归属地:</strong><font color=""#008000""><strong>" & Replace(getArea,",","") & "</strong></font></li>")
Response.Write("<li><strong>卡 类 型:</strong><font color=""#008000""><strong>" & Replace(getType,",","") & "</strong></font></li>")
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<fieldset>
<legend><strong>Google PR 值查询</strong></legend>
<div>
<%
Dim domainName
domainName = Replace(Replace(LCASE(Trim(Request.Form("domainName"))),"www.",""),"http://","")
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="prForm" method="post" action="searcher.asp?sType=pr" onsubmit="return checkPR()">
请输入域名 :www.<input type="text" name="domainName" value="<%=domainName%>" /> <input type="submit" value="提 交" />
不要带 http://www.
</form>
</div>
<%
IF(sType = "pr" AND domainName<>"")THEN
PostStr = ""
getContent=GetURL("http://so.5eo.com/info.php?action=ra ... "&domainName,PostStr)
getContent=RegExpText(getContent,"在满分10分评价中获得 <font color=#FB5E3C>((.|\n)*?)</font> 分")
'getContent=ReplaceKey(getContent,"在满分10分评价中获得 <font color=#FB5E3C>|||||</font> 分")
Dim ArrayPr
ArrayPr=Split(getContent,",")
Response.Write("<UL>")
Response.Write("<li><a href="""&domainName&" ' target=_blank rel=nofollow>http://"&domainName&""" target=""new""><font color=" ... t;&domainName&"</strong></font></a> 的Google PageRank值:<font color=""#FF0000""><strong>"&ArrayPr(0)&"</strong></font></li>")
Response.Write("<li><a href=""www."&domainName&" ' target=_blank rel=nofollow>http://www."&domainName&""" target=""new""><font color=" ... uot;&domainName&"</font></strong></a> 的Google PageRank值:<font color=""#FF0000""><strong>"&ArrayPr(1)&"</strong></font>")
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<fieldset>
<legend><strong>地区<->区号查询</strong></legend>
<div>
<div style="padding-left:23px;margin-bottom:8px;">
<%
Dim zoneName
zoneName = Trim(Request.Form("zoneName"))
%>
<form name="Zone2NumberForm" method="post" action="searcher.asp?sType=zone2number" onsubmit="return checkZone2NumberForm()">
地 区 <strong>→</strong> 区 号:<input type="text" name="zoneName" value="<%=zoneName%>" onfocus="select()" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "zone2number" AND zoneName <> "")THEN
Dim getNumber,ArrayNumber
PostStr = "area=" & escape(zoneName) & "&action=area2zone"
getContent=GetURL("http://www.ip138.com/post/search.asp",PostStr)
getNumber = RegExpText(getContent,"<TR><TD class=tdc2>◎((.|\n)*?)</TD>")
Response.Write("<UL>")
IF(getNumber="")THEN
Response.Write("<li><strong><font color=""#FF0000"">没有搜索到记录</font></strong></li>")
ELSE
ArrayNumber = split(getNumber,",")
IF(isArray(ArrayNumber))THEN
For i=0 TO UBOUND(ArrayNumber)-1
Response.Write("<li><strong><font color=""#008000"">"&Replace(ArrayNumber(i),",","")&"</font></strong></li>")
Next
ELSE
Response.Write("<li><strong><font color=""#008000"">"&Replace(getNumber,",","")&"</font></strong></li>")
END IF
END IF
Response.Write("</UL>")
END IF
Dim zoneNumber
zoneNumber = Trim(Request.Form("zoneNumber"))
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="Number2ZoneForm" method="post" action="searcher.asp?sType=number2zone" onsubmit="return checkNumber2ZoneForm()">
区 号 <strong>→</strong> 地 区:<input type="text" name="zoneNumber" value="<%=zoneNumber%>" onfocus="select()" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "number2zone" AND zoneNumber <> "")THEN
Dim getZone,ArrayZone
PostStr = "action=zone2area&zone="&zoneNumber
getContent=GetURL("http://www.ip138.com/post/search.asp",PostStr)
getZone = RegExpText(getContent,"<TR><TD class=tdc2>◎((.|\n)*?)</TD>")
Response.Write("<UL>")
IF(getZone="")THEN
Response.Write("<li><strong><font color=""#FF0000"">没有搜索到记录</font></strong></li>")
ELSE
ArrayZone = split(getZone,",")
IF(isArray(ArrayZone))THEN
For i=0 TO UBOUND(ArrayZone)-1
Response.Write("<li><strong><font color=""#008000"">"&Replace(ArrayZone(i),",","")&"</font></strong></li>")
Next
ELSE
Response.Write("<li><strong><font color=""#008000"">"&Replace(getZone,",","")&"</font></strong></li>")
END IF
END IF
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<fieldset>
<legend><strong>IP地理位置查询</strong></legend>
<div>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="ipForm" method="post" action="searcher.asp?sType=ip" onsubmit="return checkIPForm()">
待查询的IP地址:<input type="text" name="ipAddress" value="<%=ipAddress%>" /> <input type="submit" value="提 交" />
</form>
</div>
</div>
</fieldset>
<fieldset>
<legend><strong>身份证号码查询</strong></legend>
<div>
<%
Dim identityNumber
identityNumber = Trim(Request.Form("identityNumber"))
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="identityForm" method="post" action="searcher.asp?sType=identity" onsubmit="return checkIdentityForm()">
15或18位身份证号:<input type="text" name="identityNumber" value="<%=identityNumber%>" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "identity" AND identityNumber<>"")THEN
Dim ArrayIDCardInfo
PostStr = "action=idcard&userid="&identityNumber
getContent=GetURL("http://www.oicq88.com/idsearch/index.asp",PostStr)
getContent=RegExpText(getContent,":</font>((.|\n)*?)<BR>")
Response.Write("<UL>")
IF(getContent="")THEN
Response.Write("<li>身份证号码错误或没有查询到相关数据</li>")
ELSE
ArrayIDCardInfo = split(getContent,",")
Response.Write("<li><strong>性 别:</strong><font color=""#008000""><strong>"&Replace(ArrayIDCardInfo(0),",","")&"</strong></font></li>")
Response.Write("<li><strong>出生日期:</strong><font color=""#008000""><strong>"&Replace(ArrayIDCardInfo(1),",","")&"</strong></font></li>")
Response.Write("<li><strong>发证地区:</strong><font color=""#008000""><strong>"&Replace(ArrayIDCardInfo(2),",","")&"</strong></font></li>")
END IF
Response.Write("</UL>")
END IF
%>
<div style="padding-left:23px;margin-bottom:8px;">
<form name="identityUpForm" method="post" action="searcher.asp?sType=upIdentity" onsubmit="return checkIdentityUpForm()">
15位号码升至18位:<input type="text" name="identityNumber" value="<%=identityNumber%>" /> <input type="submit" value="提 交" />
</form>
</div>
<%
IF(sType = "upIdentity" AND identityNumber<>"")THEN
PostStr = "action=upto18&userid="&identityNumber
getContent=GetURL("http://www.oicq88.com/idsearch/index.asp",PostStr)
getContent=RegExpText(getContent,"升位后号码:((.|\n)*?)</TD>")
Response.Write("<UL>")
IF(getContent="")THEN
Response.Write("<li>身份证号码错误或没有查询到相关数据</li>")
ELSE
Response.Write("<li><strong>升位(18位)后号码是:</strong><font color=""#008000""><strong>"&Replace(getContent,",","")&"</strong></font></li>")
END IF
Response.Write("</UL>")
END IF
%>
</div>
</fieldset>
<div style="padding:15px;text-align:center;">
DESIGNED BY <a href="goaler
' target=_blank rel=nofollow>http://www.goalercn.com" target=" ... R</a><BR />
</div>
</body>
</html>
<%
Function ByteToStr(vIn)
Dim strReturn,i,ThisCharCode,innerCode,Hight8,Low8,NextCharCode
strReturn = ""
For i = 1 To LenB(vIn)
ThisCharCode = AscB(MidB(vIn,i,1))
If ThisCharCode < &H80 Then
strReturn = strReturn & Chr(ThisCharCode)
Else
NextCharCode = AscB(MidB(vIn,i+1,1))
strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
i = i + 1
End If
Next
ByteToStr = strReturn
End Function
Function GetURL(url,PostStr)
Set Retrieval = Server.CreateObject("Microsoft.XMLHTTP")
With Retrieval
.Open "POST", url, false ,"" ,""
.setRequestHeader "Content-Type","application/x-www-form-urlencoded"
.Send(PostStr)
GetURL = .ResponseBody
End With
Set Retrieval = Nothing
GetURL=ByteToStr(GetURL)
End Function
Function RegExpText(strng,regStr)
Dim regEx,Match,Matches,RetStr
Set regEx = New RegExp
regEx.Pattern = regStr
regEx.IgnoreCase = True
regEx.Global = True
Set Matches = regEx.Execute(strng)
For Each Match in Matches
RetStr = RetStr & regEx.Replace(Match.Value,"$1") & ","
Next
RegExpText = RetStr
set regEx=nothing
End Function
%>
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
暂无评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新日志
2024年11月23日
2024年11月23日
- 凤飞飞《我们的主题曲》飞跃制作[正版原抓WAV+CUE]
- 刘嘉亮《亮情歌2》[WAV+CUE][1G]
- 红馆40·谭咏麟《歌者恋歌浓情30年演唱会》3CD[低速原抓WAV+CUE][1.8G]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[320K/MP3][193.25MB]
- 【轻音乐】曼托凡尼乐团《精选辑》2CD.1998[FLAC+CUE整轨]
- 邝美云《心中有爱》1989年香港DMIJP版1MTO东芝首版[WAV+CUE]
- 群星《情叹-发烧女声DSD》天籁女声发烧碟[WAV+CUE]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[FLAC/分轨][748.03MB]
- 理想混蛋《Origin Sessions》[320K/MP3][37.47MB]
- 公馆青少年《我其实一点都不酷》[320K/MP3][78.78MB]
- 群星《情叹-发烧男声DSD》最值得珍藏的完美男声[WAV+CUE]
- 群星《国韵飘香·贵妃醉酒HQCD黑胶王》2CD[WAV]
- 卫兰《DAUGHTER》【低速原抓WAV+CUE】
- 公馆青少年《我其实一点都不酷》[FLAC/分轨][398.22MB]
- ZWEI《迟暮的花 (Explicit)》[320K/MP3][57.16MB]