帮我看下这段ASP代码

来源:百度知道 编辑:UC知道 时间:2024/06/17 06:31:36
dim logo,fileExt,objFSOlogo=rslo("logo")fileExt=lcase(right(logo,4))if fileEXT=".gif" or fileEXT=".jpg" or fileEXT=".jpeg" or fileEXT=".bmp" then'if (fileEXT=".gif" or fileEXT=".jpg" or fileEXT=".jpeg") and left(logo,4)<>"http" then'call dellogo()dim whichfilewhichfile=server.mappath("../logo") Set objFSO = Server.CreateObject("Scripting.FileSystemObject")if objFSO.fileExists(whichfile) thenobjFSO.DeleteFile(whichfile)end ifset objfso=nothingset rslo=nothingend ifend sub看下哪出差啦

dim logo,fileExt,objFSOlogo
objFSOlogo=rslo("logo")fileExt=lcase(right(logo,4))if fileEXT=".gif" or fileEXT=".jpg" or fileEXT=".jpeg" or fileEXT=".bmp" then'if (fileEXT=".gif" or fileEXT=".jpg" or fileEXT=".jpeg") and left(logo,4)<>"http" then'call dellogo()dim whichfilewhichfile=server.mappath("../logo") Set objFSO = Server.CreateObject("Scripting.FileSystemObject")if objFSO.fileExists(whichfile) thenobjFSO.DeleteFile(whichfile)end ifset objfso=nothingset rslo=nothingend ifend sub