<% function mycount (countfile) on error resume next dim objFSO, objTS dim r_count r_count = 0 application.lock ' 锁定对象 set objFSO=server.createobject("scripting.filesystemobject") set objTS=objFSO.opentextfile(server.mappath(countfile),1,ture) r_count = trim(CStr(objTS.ReadLine())) '======================================================================================= 'if session("F") <> "F" then '不对 r_count = CLng(r_count) + 1 'session("F") = "F" 'end if objTS.close '关闭文件 ''''''''''''''''''''''''''''''''''''''''''''''' next function '''''''''''''''''''''''''' set objTS=objFSO.opentextfile(server.mappath(countfile),2,ture) objTS.writeline(r_count) objTS.close mycount = r_count application.unlock if err.number<>0 then mycount=242567 end if end function %> 鸥日驰(上海)贸易有限公司
 
最新消息:
 
 


公司地址现已从吴中路1668号搬迁到双柏路1289号,公司电话34322288和

传真34321226已经更改。现在公司电话是64977600,公司传真:64977699.

 
上海旗舰店:上海市双柏路1289号 TEL: 021-64977600 FAX: 021-64977699
广州店:广州市永褔路40号盛大国际汽配交易广场A2铺 TEL: 020-62682862 FAX: 020-62682711

COPYRIGHT BY ORIZZ(SHANGHAI) LIMITED 2006-2010.ALL RIGHTS RESERVED.
QQ客服3
<%=mycount("mycount.txt") %>