<% Set fso = Server.CreateObject("Scripting.FileSystemObject")
'counter
data = Split(Request.ServerVariables("PATH_TRANSLATED"), "\")
data(UBound(data)) = "q-counter.txt"
path = Join(data, "\")
cunt = 0
If fso.FileExists(path) Then
Set file = fso.OpenTextFile(path, 1, False, 0)
cunt = CLng(file.ReadLine)
cuntm = CLng(file.ReadLine)
cuntlm = CLng(file.ReadLine)
if Day(Now) = 1 then
'毎月1日に先月分として記録
cuntlm = cunt - cuntm
cuntm = cunt
end if
file.Close
fso.DeleteFile path, True
End If
Set file = fso.OpenTextFile(path, 2, True, 0)
file.WriteLine CStr(cunt + 1)
file.writeLine CStr(cuntm)
file.writeLine CStr(cuntlm)
file.Close
%>
弦楽四重奏曲を中心に室内楽の紹介をしてます。作曲者別、難易度、などで
分類しています。室内楽を楽しむ時のご参考にどうぞご利用ください。
Access <% = cunt + 1 %>