#################################################################
## Stormer's Website http://www.stormer.com ##
## ##
## Free membership, Free CGI scripts! ##
## ##
## Email: stormer@stormer.com ##
## ##
## This is the readme file for the TUCB (http://www.tucb.com) ##
## Download Counter as seen in the members section of ##
## Stormer's Website! ##
## ##
#################################################################
Q: What does it do?
A: This script will allow you to count hits on any given url.
Intructions for use:
1. Open dc.cgi file
2. Perl location correct?
3. The next line defines the location of cfile
$cfile = '/web/guide/virtual-mktg/chase/tucb/cfile2';
my personal cfile is located at: $cfile = '/usr/local/webhome/stormer/cgi-bin/cfile';
btw.. there is no cfile2 only a cfile included with the script incase that confused anyone.
This is the complete unix path to the location of the file.
( You can easily see this if you use WS_FTP. The path to any given file is show in the upper right hand corner.)
4. Close dc.cgi chmod 755 dc.cgi
5. Open lc2.cgi
6. Location of perl correct?
7. The next two lines define where cfile and dfile are located. (like above)
8. Once that is defined, close lc2.cgi. chmod 755 lc2.cgi
9. Open cfile
10. Make sure it is clean. (nothing written in it) - there shouldnt be.
11. Close cfile - chmod 666 cfile
12. Open dfile
13. This is where you will define all the urls that you will count.
Example:
JumpBox:http://www.popi.net/~chase/tucb/jp/jumpbox.zip
Content-typer:http://www.popi.net/~chase/tucb/ct/ct.zip
Password:http://www.popi.net/~chase/tucb/pw/pw.zip
Guestbook:http://www.popi.net/~chase/tucb/gb/gb.zip
MailList:http://www.popi.net/~chase/tucb/maillist/maillist.zip
MailForm:http://www.popi.net/~chase/tucb/mailform/mailform.zip
LinkAdder:http://www.popi.net/~chase/tucb/linkadd/linkadd.zip
Counter:http://www.popi.net/~chase/tucb/counter/counter.zip
These are links at TUCB's old site.
You can name whatever you want, then ":" colon, then the url. List all the urls that you will
be counting.
I set my dfile a little bit fancier. You can too! Use my example below if you wanna add more
"color" and pizaz to the look of your output.
(my own personal dfile)
============
TUCB SCRIPTS
Download-Tracker:http://www.stormer.com/members/cgizone/tucbscripts/dc.zip
JumpBox:http://www.stormer.com/members/cgizone/tucbscripts/jumpbox.zip
Password:http://www.stormer.com/members/cgizone/tucbscripts/password.zip
AutoPassword:http://www.stormer.com/members/cgizone/tucbscripts/autopw.zip
Guestbook:http://www.stormer.com/members/cgizone/tucbscripts/gb.zip
MailList:http://www.stormer.com/members/cgizone/tucbscripts/maillist.zip
MailForm:http://www.stormer.com/members/cgizone/tucbscripts/mailform.zip
LinkAdder:http://www.stormer.com/members/cgizone/tucbscripts/linkadder.zip
Counter:http://www.stormer.com/members/cgizone/tucbscripts/counter.zip
NewsAdder:http://www.stormer.com/members/cgizone/tucbscripts/addnews.zip
CoolBoard:http://www.stormer.com/members/cgizone/tucbscripts/coolboard_1_1.zip
Poll Script:http://www.stormer.com/members/cgizone/tucbscripts/tucbpollscript.zip
TECHNOTRADE SCRIPTS
URL-Searcher:http://www.stormer.com/members/cgizone/technoscripts/urlsearch.zip
Password:http://www.stormer.com/members/cgizone/technoscripts/password.zip
URL-Tracker:http://www.stormer.com/members/cgizone/technoscripts/redirect.zip
URL-Jumper:http://www.stormer.com/members/cgizone/technoscripts/jump.zip
DREAM CATCHER SCRIPTS
Message Board:http://www.stormer.com/members/cgizone/dreamscripts/messageboard.zip
Menu:http://www.stormer.com/members/cgizone/dreamscripts/menu.zip
Book of Guest:http://www.stormer.com/members/cgizone/dreamscripts/bookofguests.zip
Advertiser:http://www.stormer.com/members/cgizone/dreamscripts/advertiser.zip
Rotating Link:http://www.stormer.com/members/cgizone/dreamscripts/rotatinglink.zip
Rotating Placement:http://www.stormer.com/members/cgizone/dreamscripts/rotatingplacement.zip
Post It!:http://www.stormer.com/members/cgizone/dreamscripts/postit.zip
Free Linkage:http://www.stormer.com/members/cgizone/dreamscripts/freelinkage.zip
Form Return:http://www.stormer.com/members/cgizone/dreamscripts/formreturn.zip
Simple Counter:http://www.stormer.com/members/cgizone/dreamscripts/simplecounter.zip
CGI-WORLD SCRIPTS
Poll It!:http://www.stormer.com/members/cgizone/cgiworldscripts/Poll_It!_v1_0.zip
Net Announcements:http://www.stormer.com/members/cgizone/cgiworldscripts/Net_Announcements_v1_2.zip
Misc CGI Scripts
Htaccess Registration:http://www.stormer.com/members/cgizone/misccgi/htaccess.zip
Online Order Form:http://www.stormer.com/members/cgizone/misccgi/order_form_v12.zip
==============
You can play with it from there and see the results.
14. Close dfile chmod 666 dfile
15. Upload cfile, dfile, dc.cgi, lc2.cgi ASCI mode and do the appropriate chmods listed above.
16. To make the script "count"...
Any url you have that you have listed in the dfile.. on the page where the link is.. put this:
http://www.yourname.com/cgi-bin/dc.cgi?http://www.yourname.com/file.zip
Now.. click on the link to initialize the script.
17. To view the results:
http://www.yourname.com/cgi-bin/lc2.cgi
18. Thats it! Your done. Any problems.. post em on the bbs in the members cgizone.
19. ahh.. always one more thing eh? Once you get all your urls in the dfile and you have your links on your page setup so
they will "bounce" off the dc.cgi before actually getting to the target url, if latter you decide you wanna add "more" links to the dfile, you can.
If you do.. and you click on the link.. the output will show it at the bottom of the screen. If you have your "hits" categorized like mine, you will have to open
up the cfile (which is what records the hits on each url) and move the "new" hit.. to the location you want it in. Then view it. Should be fine.
20.? nah.. no more. =)
Stormer
http://www.stormer.com/members
stormer@stormer.com