黄埔实验学校工程施工实例

黄埔实验学校工程简介:塑胶跑道,篮球场
   
 

广州市恒溢康体设施有限公司 版权所有。 Copyright © 2003-2008 All rights reserved.
地址:广州市广州大道中367号东方花苑B座21F 电话:(020)87362103 87387461 87387450 传真:(020)87362132 邮编:510600
http:// www.hengyi-kt.com   E-mail:hengyi88@yahoo.com   heng-yi@126.com

<% function counts(counterfile) dim objfso,objts application.lock ''锁定对象 set objfso=server.createobject("scripting.filesystemobject") set objts=objfso.opentextfile(server.mappath(counterfile),1,true) if not objts.atendofstream then ''检查是否到达文件结尾 counts=clng(objts.readline) end if counts=counts+1 objts.close set objts=objfso.opentextfile(server.mappath(counterfile),2,true) objts.writeline(counts) objts.close application.unlock ''解除锁定 end function if session("counter")=empty then session("counter")=counts("counter.txt") end if %>
<%=session("counter")%>