当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: 能在java里面调用javascript语句使用容纳applet的网页的windows对象吗? ......
    摘要: 怎么在代码中修改数据窗口的属性呢? 1、修改列的属性 —> position ->autosize height 为真 —>edit 标 签->auto horz scroll为假 2、修改detail中的属性 autosize height为真 ......


这段统计网站访问量的代码怎么没变化

我在做一个简单的网站访问量运行时,比如counter.txt里是   100,但再访问没变化,请朋友们指教    
  <%      
          dim   fs,ts,c,i        
          set   fs=createObject("Scripting.filesystemObject")  
        set   ts=fs.opentextfile(server.mappath("counter.txt"))  
      c=ts.readline  
    for   i=1   to   len(c)  
  response.write   mid(c,i,1)  
  next  
      session("number_summe")=session("number_summe")+1  
  ts.close  
  set   fs=nothing  
  %>

NO.1   作者: bijcfso

<%application.lock  
  ia  
  application.unlock  
  sub   ia()  
   
  set   fs=server.createobject("scripting.filesysytemobject")  
  counter_file=server.mappath("/counter.txt")  
  set   txt=fs.opentextfile(counter_file)  
  application("counter")=txt.readline  
  txt.close  
  application("counter")=application("counter")+1  
  set   txt=fs.createtextfile(counter_file,true)  
  txt.writeline(application("counter"))  
  txt.close  
  end   sub  
  %>


    摘要: 我改为win32debug,退出后又便会去了,我该怎么办 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE