#######################################################
#             Ranking System V2.6
#
# 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, 
# olease 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: September 04, 1999   
#
#   Ranking System V2.6 is protected by the copyright 
#   laws and international copyright treaties, as well as other 
#   intellectual property laws and treaties.
###################################################################


Installation:

1) Open the configuration script(cfg.pl) with a text editor.

Edit the variables in the script(cfg.pl).

(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 in "each scripts
(ranking.pl, signup.pl, gateway.pl and update.pl)." 

*You will get a 500 error message if the perl path is wrong.

2) Open all of the text files(count.txt, time.txt, header.txt, footer.txt and banner.txt) with a text editor.
count.txt- Nothing need to be modified.
time.txt- Nothing need to be modified.
header.txt and footer.txt-Type in the html tags that will make your topsites list looks like the rest of your pages. 
banner.txt- Type in the html tags for displaying banners.

3) Upload all of the scripts(ranking.pl, signup.pl, gateway.pl and update.pl) and the text files(count.txt, time.txt, header.txt, footer.txt and banner.txt) to your cgi-bin then chmod all of of the  
scripts to "755" (you don't need to chmod cfg.pl. just upload it.) and text files to "777."

4) Create a "directory," that you've set the path in the configuration 
script(cfg.pl) perviously. Chmod the directory
to "777". This directory will be used for storing the member data files.

5) Execute the script "update.pl" with your browser. (For example, point your browser to http://www.yourname.com/cgi-bin/update.pl)
It will create the topsites listing page(topsites.html or any name that you set). 

6) Done.

If you are just creating a ranking list for the products of your company or anything like that, the suggested way is that you can 
hide signup.html at a place where other people can't find it. Then you can add new items into the ranking list by yourself.  


##########################################################################
!!Important!!
"All of the files" have to be uploaded in "ASCII" mode or you will always 
get a 500 server error while accessing this program.
##########################################################################

