<% Set FileObject = Server.CreateObject("Scripting.FileSystemObject") Dir = Request.ServerVariables("SCRIPT_NAME") Dir = StrReverse(Dir) Dir = Mid(Dir, InStr(1, Dir, "/")) Dir = StrReverse(Dir) HitsFile = Server.MapPath(Dir) & "\ntcount\hits.txt" On Error Resume Next Set InStream= FileObject.OpenTextFile (HitsFile, 1, false ) OldHits = Trim(InStream.ReadLine) NewHits = OldHits + 1 Set OutStream= FileObject.CreateTextFile (HitsFile, True) OutStream.WriteLine(NewHits) %> Welcome to headwearworld!
=================

<% L=Len(NewHits) i = 1 For i = i to L num = Mid(NewHits,i,1) Display = Display & "" Next Response.Write Display %>
Home Page About us Our products Contact us What' New
1 2 3 4 5 6 7 8 9 10 11 12

KBC1001A

KBC1001B

KBC1001C

KBC1001D

KBC1002A

KBC1002B

KBC1002C

KBC1002D

KBC1003A

KBC1003B

KBC1003C

KBC1003D

KBC1004A

KBC1004B

KBC1004C

KBC1004D

KBC1005A

KBC1005B

KBC1005C

KBC1005D

next กกกกchildren hats