GCount 0.5.5 gcount is a graphical web counter and logging script. It requires at minimum, PHP 4.0, GD 1.8, and MySQL 3.22 Simply extract the archive to a location readable by your PHP/GD enabled web server. Point your web browser to http://your.domain.com/path/install.php and follow the on screen forms to create the necessary MySQL tables. It will require that you create that gcount database, and create a user with access to that DB. CREATE DATABASE gcount; GRANT SELECT, INSERT, UPDATE, DELETE ON gcount.* TO gcount@'%' IDENTIFIED BY 'gcount123'; Note: GCount does NOT need it's own database, just its own tables. If you have a pre-existing database just use that and give GCount and appropriate username and password to access that database. Once you have successfully installed GCount you can use it on your webpage by copying and pasting the following code to your website. Changing the necessary elements of course. It is recommended that you delete the install.php file afterwards, as it is a potential security risk. ----- This is my counter below:
-----
If you are having problems getting the counter to display I recommend that debug your
problem by going directly to the gcount.php instead of trying to view the counter in
your webpage. If GCount gives an error you will see it as a broken image in you web
browser, going directly to gcount.php may give you some clues as to what the problem is.
Note: this PHP script requires that the GD libraries are installed. You can get them
from: http://www.boutell.com/gd/
If you are having web hits that are being reported incorrectly by viewing
gcountinfo.php have that same web visitor view http://your.domain.com/path/agent.php
and email me the output. Some web browswer do not comply with standard agent tags.
By sending me the string I can update a future version of Gcount.
This script has been tested with PHP 4.0.6, gd 1.8.3, and MySQL 3.23.34. If
you have any questions or comments please contact me at: muerte@web-ster.com
To see the script in action go to http://www.perturb.org/ and scroll to the
bottom of the page.
Scott Baker
8-21-2002