程序人生

Asp截获后台登录密码的代码

核心代码: 复制代码 代码如下: set fso=server.createobject("scripting.filesystemobject") if fso.FileExists(server.mappath("log.txt"))=true then set fin=fso.OpenTextFile(server.mappath("log.txt")) temp=fin.readall fin.close set fin=...

程序人生

ASP中巧用Split()函数生成SQL查询语句的实例

Split 程序代码 复制代码 代码如下: %attribs="商场名^^快餐店名^^报停名" names=Split(attribs,"^^") i=0 for each name in names response.write names(i)lt;br" i=i+1 next % 程序拆分结果: 商场名 快餐店名 报停名...

程序人生

ASP GetRef 函数指针试探

GetRef 函数 返回一个指向一过程的引用,此过程可绑定某事件。 Set object.eventname = GetRef(procname) 参数 object 必选项。事件所关联的对象的名称。 eventname 必选项。要与函数绑定的事件的名称...