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

KBC8001

KBC8002

KBC8003

KBC8004

KBC8005

KBC8006

KBC8007

KBC8008


KBC8009


KBC8010

KBC8011

KBC8012

KBC8013

KBC8014

KBC8015

KBC8016

KBC8017
KBC8018
KBC8019

KBC8020

KBC8021

KBC8022


KBC8023

KBC8024

KBC8025

KBC8026

KBC8027

KBC8028

next