Insiteweb Support

[ Insiteweb Home Page | Contact Support | Support Home Page]

How Do I Get That Cool Counter On My Page?

Contents of this Page

Introduction
The Code
FrontPage 98 Users
The Code for a Page in a Subdirectory
What If I'm Using FrontPage 97?
Resetting the Counter (sites without FrontPage)
Resetting the Counter (sites with FrontPage)

 

Introduction

Let's assume you are a customer of ours. If not, you'll be in big trouble if you do this, because the boss (Jim) likes to stay up late at night and check the counter log files and will secretly replace your counter with Folgers crystals.

 

The Code

OK, your page at "http://yourdomain.com/index.html" needs that cool odometer graphic. Insert this code into the HTML code of your page:

<img src="http://yourdomain.com/cgi-bin/nph-count2?width=5&link=http://yourdomain.com/index.html">

Please Note: If you are a FrontPage 98 user with the FrontPage 98 extensions installed on your site, please see below.  If you are a FrontPage 97 user, please see further below.

 

The Code for a Page in a Subdirectory

Hmm, what about my page at http://yourdomain.com/somewhere/else.html?   Follow this example instead:

<img src="http://yourdomain.com/cgi-bin/nph-count2?width=5&link=http://yourdomain.com/somewhere/else.html">

 

What If I'm Using FrontPage 97?

FrontPage 97 WebBot Hit Counters will not operate on our UNIX operating systems. You may use a third party script if you wish but we will not be able to provide technical support for it. To use ours, follow these steps:

2. Open the page with the FP editor, place the cursor where you want the counter.

3. =>Insert => HTML Markup => (insert the counter script) => OK => save file, Done.


Resetting the Counter (sites without FrontPage)

You can set the counter by editing the file named "count_file" in your DocumentRoot directory. This is the directory to which you upload your web pages. In most cases, this will be called www or wwwfp.   Download this file via FTP (in ASCII mode) and use a simple text editor (such as notepad) to change the number shown at the end of the line that contains the name of the page that the counter you wish to set is on. Save the file and ftp it back up (also in ASCII mode).
Done.

Please Note: If you are a FrontPage user with the FrontPage extensions installed on your site, please see below.

 

Resetting the Counter (sites with FrontPage)

You cannot ftp files to your frontpage directory if you have Frontpage'97 extensions installed, you must use frontpage to edit files in the frontpage directory structure. Start your frontpage and in the "open" dialog box, type your domain name and extension. Enter your user id and password and you are now viewing your frontpage site as it exists on our server. Right click on count-file and choose "open with". Then choose "text editor:notepad.exe". Edit the count at the end of the line that corresponds to the page you wish to count and click on "save" under the file menu. Click the close box (x) to close notepad then and close your frontpage explorer. When you view the page with the counter on it in your browser, you will see that the count is what you set plus one.

Top of Page

Back to Support Home Page

These pages are for Insiteweb customer support only.  While every effort is made to keep these pages current Insiteweb cannot be held responsible for loss or damage to files or equipment due to procedures stated on this website. You must agree to the insitewebdesigncom terms of service prior to using this information.