e-mail sales
e-mail support
Fast feedback
 
 
sales@thewebpower.com
support@thewebpower.com
page
 
WEB SITE HOSTING

 

COUNTER

 



Home Page
Web Hosting
Order Now
About Us
Testimonials
Web Design
Web Advertising
Why Us
Support
Fast Feedback Page
Resellers



server technology

 

 

How can I use the counter script on my website?

There are 3 steps you need to do in order to activate a counter on your home page.

1.) Name your home page index.html

2.) Send us an e-mail to activate for your domain the counter script.
We will activate the counter script and put 2 files in your main web directory:
index.cgi (The script) and a file named .count that contains the number of visitors.

3.) Put the string #COUNT where you want the counter to appear.
When http://your-domain.com is referenced at the browser, instead of delivering the file index.html as normally expected, the program index.cgi is run instead. index.cgi reads the .count file, increments the number in that file by one, and writes the file back on disk. Then it reads in the index.html file, finds the string "#COUNT" imbedded somewhere in it, changes "#COUNT" to 1 + whatever value if found in .count, and sends the modified index.html to the browser.

 

Home | Web Hosting | Web Design | Web Advertising | Why us?
Support | On-line Order | Fast Feedback Page | Resellers

THE WEB POWER © 1997-2003 all rights reserved
A branch of MEDIA POWER ADVERTISING