|
Sample|Download|Installation Process|How it works
Here is a sample of comCount:
|
DOWNLOAD comCount
|
3) We would like to remind you of some opportunities for contribution. I provided to you at no charge, and you have every right to redistribute the software. I depend on people willing to contribute their time and support to the project to ensure that my work remains free and available at no cost.
You can help. The basic options consist of Contributing Work or if you have no time Donating Funds.
We appreciate your support for the project.
|
|
Congratulations, you’ve just downloaded the comCount.zip file, which contains a sample set of files that will allow you to quickly set up your own Counter on your server and web pages.
This process will detail the steps needed to install and use comGuestBook on your web server.
The comCount.zip file contains the following files:
- comCount.php: This is a sample to allow you to see a counter,
- comCount/comCount.php: this is the main script, it will allow you to run the component,
- counter.txt or counter1.txt: These file are used to store the value of the sample counter contents.
- images Folder: contains every gif corresponding to each number. 1.gif for example stands for "1", etc... Nada.gif stands for the blank value.
Once the comCount.zip file is downloaded into your computer, you should unpack the content into a folder, or into HTDOCS folder if you have a localhost server. Note that the original hierarchy will have to be maintained; all scripts should be copied into a comCount folder.
1. The component should be included into your webpage: <?php require 'comCount/comCount.php'; ?>
2. Include the component drawing code function at the requested place on your page: <?php counter('comCount/counter.txt', 500, false); ?>. We recommend to draw it inside a table.
Note that the page that will hold the component should be a php page.
Parameters of the counter function:
- 'comCount/counter.txt': is the file that will keep the number of last visit count on the page. This file will be opened, updated and close, each time a visitor enters or refresh the page.
- 500: is the number the counter should begin by, the first time it is running on the page. This very first time, the component creates the 'comCount/counter.txt' file and writes this number inside.
- false: will be used in the future.
The component has been not been designed so it could stay the most general possible, allowing the user to easily apply its own design.
Home|Contacts|Privacy Policy
|