脚 本 之 家 www.jb51.net
页面导航:  不限条件-->知文
本地搜索:
<%DimobjCMFUDimstrModifiedSetobjCMFU=Server.CreateObject("CM_FileUtils.GetProperty")'创建对象并赋给变量,并且GetProperty类是当前唯一可用的.strModified=objCMFU.LastModified'检索并返回包含最后修改日期和时间(LastModifiedfunction)值.当然了,还要考虑到出错的可能. SetobjCMFU=Nothing'清空.%><%IfstrModified="Error!"Then%>对不起,出错了!<%Else%>...
http://www.jb51.net//article/4725.htm
FunctionFile_GetLastModified(sFile)DimobjFileObj,objFile SetobjFileObj=CreateObject("Scripting.FileSystemObject") IfsFile=""Then sFile=Server.MapPath(Request.ServerVariables("script_NAME")) EndIf  SetobjFile=objFileObj.GetFile(sFile)   File_GetLastModifie...
http://www.jb51.net//article/4724.htm
共有:2/10,当前1/1页  [首页] [上一页] 1 [下一页] [尾页] 转到: