RSS
热门关键字:
当前位置 :| 主页>web development>

ASP mistake is solved: 800a003a mistake

来源: 作者:Stand originally 时间:2008-12-21 Tag: 点击:
Consult other file revises, the website returns to normal eventually, do not know a program, do not know a principle so, be to add a judgement roughly.
Original code:
For P=1 To Mpage Step 1Dim Fso, ktemplate, kypSet Fso=createobject("scripting.filesystemobject" )Set Ktemplate=fso.opentextfile(server.mappath(" . . / Muban/create_html.ASP" ) )Kyp=ktemplate.readallKtemplate.closeSet Ktemplate=nothingFso.CreateFolder(server.mappath(" . .diqu" &address) )If S_id=0 Then
. . .
The code after revising:
For P=1 To Mpage Step 1Dim Fso, ktemplate, kypSet Fso=createobject("scripting.filesystemobject" )Set Ktemplate=fso.opentextfile(server.mappath(" . . / Muban/create_html.asp" ) )Kyp=ktemplate.readallKtemplate.closeSet Ktemplate=nothingIf Fso.FolderExists(server.mappath(" . .diqu" &address)) Then
'ElseFso.CreateFolder(server.mappath(" . .diqu" &address) )End IfIf S_id=0 Then
. . .


最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
栏目列表
热点关注
相关文章