 |
 |
 |
 |
Details about installing a counter and the .htaccess file
 |
Details |
Example: Counting hits to myfile.htm in myfol folder.
The #exec line below is added to myfile.htm.
This will display the hits on the page. Upload myfile.count and .htaccess as unix type for unix servers.
- myfile.count in myfol folder
- chmod myfile.count to 644
- <!--#exec cgi="/cgi-bin/c4.pl"--> in myfile.htm
- cgi-bin is root/cgi-bin
- .htaccess in root
- c4.pl and lock.pl in cgi-bin
- chmod c4.pl and lock.pl to 755
Invisible counter, set color to background color, e.g:-
<FONT COLOR="#041D60"><!--#exec cgi="/cgi-bin/c4.pl"--></FONT>
Use this for counter in a table:-
<CENTER>
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="2">
<TR>
<TD BGCOLOR="#FFF3E9">
<FONT SIZE="1">
<!--#exec cgi="/cgi-bin/c4.pl"--> since 16 July 1999
</FONT></TD>
</TR></TABLE><BR>
</CENTER>
|
|
 |
 |
 |
 |
Website Counter - This is the counter for your homepage.
Your server company may not allow you to use cgi-scripts, especially if it is free webspace. In this case you can't have a counter. |
|
 |
 |
 |