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

KBC8146

KBC8147

KBC8148

KBC8149

KBC8150

KBC8151

KBC8152

KBC8153

KBC8154

KBC8155

KBC8156

KBC8157

KBC8158

KBC8159

KBC8160

KBC8161

KBC8162

KBC8163

KBC8164

KBC8165

KBC8166

KBC8167

KBC8168

KBC8169

back