<% 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

HNC20991

HNC20991A

HNC20991B

HNC20991C

HNC2100

HNC2101

HNC2102

HNC2103

HNC2104

HNC2105

HNC2106

HNC2107

HNC2108

HNC2109

HNC2110

HNC2111

HNC2112

HNC2113

HNC2114

HNC2115

HNC2116

HNC2117

HNC2118

HNC2119

backกกกกnext