###############################################################
#             Graphical Counter V1.1	
#
# This program is distributed as freeware. We are not            	
# responsible for any damages that the program causes	
# to your system. It may be used and modified free of 
# charge, as long as the copyright notice
# in the program that give me credit remain intact.
# If you find any bugs in this program. It would be thankful
# if you can report it to us at cgifactory@cgi-factory.com.  
# However, that email address above is only for bugs reporting. 
# We will not  respond to the messages that are sent to that 
# address. If you have any trouble installing this program. 
# Please feel free to post a message on our CGI Support Forum.
# Selling this script is absolutely forbidden and illegal.
##################################################################
#
#               COPYRIGHT NOTICE:
#
#         Copyright 1999-2000 CGI-Factory.com TM 
#	  A subsidiary of SiliconSoup.com LLC
#
#
#      Web site: http://www.cgi-factory.com
#      E-Mail: cgifactory@cgi-factory.com
#      Released Date: April 1, 2000
#	
#   Graphical Counter V1.1 is protected by the copyright 
#   laws and international copyright treaties, as well as other 
#   intellectual property laws and treaties.
###################################################################
#######################################################



Installation:
1) Open the script with a text editor.

Find the line which says "Modify the area below" then edit the variables.

(If the path to perl on your server is different from 
#!/usr/local/bin/perl then you will need to change it on the first line) 

2) Upload the script to your cgi-bin then chmod the script(gcount.pl) to "755"

3) Upload the data files (count.txt and record.txt) to the same directory, where you uploaded the script. Chmod the data files to "777"

4) Create a directory, then upload the image files to the directory where you've set the path in the script.

5) Insert the following tag into your page. <!--#exec cgi="location of the cgi program" -->
example: <!--#exec cgi="/cgi-bin/count.pl" -->

6) Done.
!!Important!!
All of the files(except the images fines, they have to be uploaded in "Binary mode") 
have to be uploaded in "ASCII" mode or you will always get a 500 server error while accessing the program.
Also, the images files can't be uploaded to the cgi-bin.