最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

如何實(shí)現(xiàn)點(diǎn)擊數(shù)的計(jì)算?

 更新時(shí)間:2006年11月16日 00:00:00   作者:  

counter.htm

a href=counter.asp?save=123&url=http://127.0.0.1/http://127.0.0.1/a
共點(diǎn)擊次數(shù):<script src=view.asp?save=123></script

counter.asp
%
path="d:data"
file=request("save")

url=request("url")
Set fs = CreateObject("Scripting.FileSystemObject")
if fs.FileExists(path & file & ".txt") then
Set thisfile = fs.OpenTextFile(path & file & ".txt", 1, False)
number=thisfile.readline + 1
thisfile.Close
Set outfile=fs.CreateTextFile(path & file & ".txt")
outfile.WriteLine number
outfile.close
set fs=nothing
else
number=1
Set outfile=fs.CreateTextFile(path & file & ".txt")
outfile.WriteLine number
outfile.close
set fs=nothing


end if
response.redirect url
%


view.asp
%
path="d:data"
file=request("save")
Set fs = CreateObject("Scripting.FileSystemObject")
if fs.FileExists(path & file & ".txt") then
Set thisfile = fs.OpenTextFile(path & file & ".txt", 1, False)
number=thisfile.readline
thisfile.Close
set fs=nothing
else
number=0

end if
response.contenttype = "application/x-javascript"
response.write "document.write(""" & number & """);"
%

[1]

相關(guān)文章

最新評(píng)論

遂宁市| 会泽县| 绥滨县| 吉木萨尔县| 东阳市| 呼图壁县| 博兴县| 崇州市| 平谷区| 左权县| 开原市| 广饶县| 石城县| 广南县| 彭山县| 镇平县| 会泽县| 东平县| 广丰县| 莱州市| 乳源| 定襄县| 垫江县| 金溪县| 进贤县| 西乌珠穆沁旗| 巴南区| 奉贤区| 精河县| 常德市| 靖边县| 屯留县| 海盐县| 太白县| 榆社县| 嵊州市| 禹城市| 南阳市| 四会市| 麻江县| 墨脱县|