include文件夹,html怎么用include(html的include怎么用)

作者:人民网
围观群众:26
更新于
include文件夹,html怎么用include(html的include怎么用)

  代码如下:

% Functioninclude(filename) Dimre,content,fso,f,aspStart,aspEnd setfso=CreateObject(Scripting.FileSystemObject) setf=fso.OpenTextFile(server.mappath(filename)) content=f.ReadAll f.close setf=nothingsetfso=nothingsetre=newRegExp re.pattern=^s*=aspEnd=1aspStart=inStr(aspEnd,content,%) 2 dowhileaspStartaspEnd 1 Response.writeMid(content,aspEnd,aspStart-aspEnd-2) aspEnd=inStr(aspStart,content,%) 2 Execute(re.replace(Mid(content,aspStart,aspEnd-aspStart-2),Response.Write)) aspStart=inStr(aspEnd,content,%) 2 loop Response.writeMid(content,aspEnd) setre=nothingEndFunction %

非特殊说明,本文版权归 17天经验网 所有,转载请注明出处.

本文分类: 健康

本文标题: include文件夹,html怎么用include(html的include怎么用)

本文网址: http://17tyw.com/jiankang/2327.html

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。