鉴于大家对ASP十分关注,我们编辑小组在此为大家搜集整理了“asp空间奸商查询系统”一文,供大家参考学习
看到很多朋友无缘无故的被骗,特发布此
查询系统,以免再次上当!
使用方法非常简单:
直接输入对方的域名或者网站名称,支持中英文!点
查询即可
复制代码 代码如下:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
On Error Resume Next
ff="垃圾,是垃圾,骗子,无耻,不要买,骗钱,垃圾空间,垃圾中的极品,垃圾中的垃圾,经常掉线,无缘无故的关闭"
if Request.Form("checkbox")<>"" then
ff=Replace(Replace(request.Form("zff")," ",""),chr(13),",")
End if
if request.Form("st")="baidu" then
Url="http://www.baidu.com/s/"
End if
Class PostForm
Public form
Function AddItem(Key, Value)
''On Error Resume Next
Dim TempStr
If form = "" Then
form = Key + "=" + Server.URLEncode(Trim(Value))
Else
form = form + "&" + Key + "=" + Server.URLEncode(Trim(Value))
End If
End Function
End Class
Function OpenXHttp(QuUrl,QuStr)
Set XML = CreateObject("Microsoft.XMLHTTP")
XML.Open "GET", QuUrl & "?" & QuStr, False
XML.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
XML.Send
IsSuccess = XML.Responsebody
XML.Abort()
Set XML = Nothing
Set BytesStream = CreateObject("ADODB.Stream")
BytesStream.Type = 2
BytesStream.Open
BytesStream.WriteText IsSuccess
BytesStream.Position = 0
BytesStream.Charset = "GB2312"
BytesStream.Position = 2
StringReturn = BytesStream.ReadText
BytesStream.Close
Set BytesStream = Nothing
OpenXHttp = StringReturn
End Function
''声明截取的范围
Function GetKey(HTML,Start,Last)
filearray=split(HTML,Start)
filearray2=split(filearray(1),Last)
GetKey=filearray2(0)
End Function
Function SearchT(byval strdomain,byval key,byval t)
keys="site:"&strdomain&" "&key
Set Reg = New PostForm
If t="baidu" then
call Reg.AddItem("wd",keys)
call Reg.AddItem("cl","3")
SearchT = OpenXHttp (Url,Reg.form)
Set Reg = Nothing
If Instr(SearchT,"百度一下,找到相关网页")<>0 then
Response.write "<font color=red>有"&GetKey(SearchT,"百度一下,找到相关网页","篇")&"条相关信息</font>"
''百度一下,找到相关网页1篇
elseif Instr(SearchT,"抱歉,没有找到与")<>0 then
Response.write "无相关信息"
end if
End if
End Function
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>空间商信息
查询系统</title>
<Script>
function input_ok()
{form1.Submit.style.display=''none'';tit.style.display=''block'';return true;}
</Script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="0">
<form action="" method="post" name="form1" id="form1">
<tr>
<td co