<%@Language=VBScript%><% OptionExplicit dimobjCNN dimintCTProps dimitem dimvbCRLF vbCRLF=chr(10) Response.Write"<html><head></head><b...
http://www.jb51.net//article/4822.htm
如何获知页面上的图象的实际尺寸?<!--#includevirtual="/intels/chunfeng/graphicdetect.asp"--><html><head><title>千花飞舞之获知图像尺寸</title></head><body><% graphic="images/intels.gif" HW=ReadImg(graphic) Response.Writegraphic&"Dimensions:"&HW(0)&"x"&H...
http://www.jb51.net//article/4772.htm
global.asa<scriptLANGUAGE="VBScript"RUNAT="Server">SubApplication_OnStart 'SubApplication_OnStart是好在服务器每次启动的时候激活的方法. Session.Timeout=3'定义用户在线时间,如果在定义时间内没有活动连接,则删掉他的session变量实例,将其注销. Application.Lock '用.Lock方法锁住Application变量以继续...
http://www.jb51.net//article/4762.htm
<%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
<%SetMyFileSize=Server.CreateObject("Scripting.FileSystemObject")MyPath=Server.MapPath("/somedirectory")SetMyFolder=MyFileSize.GetFolder(MyPath)%><p><%=MyPath%>is<%=MyFolder.Size%>bytes</p> 我们可以看到显示的样式如:Shenzhaoyang\Chunfeng\somedirectoryis6609362...
http://www.jb51.net//article/4723.htm
1.撼雪喷云之显示Cookie<TABLEBORDER="2"> <Thead> <TH>Cookie名</TH> <TH>Cookie值</TH> <TH>删除Cookie</TH> </Thead><%D...
http://www.jb51.net//article/4701.htm
下面两个文件:<!--#includevirtual="/intels/chunfeng/graphicdetect.asp"--><html><head><TITLE>图像尺寸</TITLE></head><bodybgcolor="#FFFFFF"><%graphic="images/intels.gif"HW=ReadImg(graphic)Response.Writegraphic&"Dimensions:"&...
http://www.jb51.net//article/3701.htm
共有:8/10,当前1/1页
[首页] [上一页]
1
[下一页] [尾页]
转到:
