Server 对象 此文件最后被修改的时间是? 探测文件的最后更新时间。 本示例代码如下: html body % Set fs = Server.CreateObject(Scripting.FileSystemObject) Set rs = fs.GetFile(Server.MapPath(/example/aspe/demo_aspe_lastmodified.asp)) modified =
Content Linking 组件 本例会构建一个内容列表。 看到本信息说明该文是通过网页教学( www.itjxue.com )整理发布的,请不要删掉! 本实例代码如下: html body p下面的例子构建了一个内容列表:/p % dim c dim i set nl=server.createobject(MSWC.Nextlink)
FileSystemObject 对象 指定的文件存在吗? 本例演示如何首先创建FileSystemObject对象,然后使用FileExists方法来探测某文件是否存在。 本示例代码如下: html body % Set fs=Server.CreateObject(Scripting.FileSystemObject) If (fs.FileExists(c:\window
用户信息和服务器相关的实例 取得用户信息 如何查明访问者的浏览器类型、IP地址等信息 本示例代码如下: html body p b您正在通过这款浏览器访问我们的站点:/b %Response.Write(Request.ServerVariables(http_user_agent))% /p p b您的 IP 地址是:/b %Resp