给你一个简单的.:)
<%@ Language=VBScript %>
<%on error resume next
%>
<HTML>
<HEAD>
<title>查找结果---关键字:<%=request("keyword")%></title>
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY bgcolor="#CBE6FC">
<P align="center">
<%
dim counter,keyword,fs,root,subpath,subpathlen,i
dim find_result(1024)
dim urlstr
urlstr="http://211.68.176.105"
'---------------
if Request("keyword")="" then
'Response.End
end if
'------------------
counter=0
keyword=Request("keyword")
keyword="河北农业大学"
Set fs = CreateObject("Scripting.FileSystemObject")
set root=fs.GetFolder (server.MapPath("/"))
subpath=server.MapPath("/")
subpathlen=len(subpath)
%>
<b><font size="4" color="#800000">查询结果</font></b><%
function fold(byref obj)
dim folder,file,pos,tmp,thisfile,str
for each folder in obj.subfolders
for each file in folder.files
if instr(1,file.name,".htm") or instr(1,file.name,".html") then
Set thisfile = fs.OpenTextFile(file.path,1)
str=""
do until thisfile.atendofstream
str=str+thisfile.readline
loop