Nightwalker
09-20-2001, 05:27 PM
I can't get a PERL/CGI counter to work on FutureQuest. I've gotten it to work on other web pages. I placed this code in right.shtml:
<p align="center"><b><font color="#0065CA">This page has been accessed[nbsp]</font></b><img src=http://www.mywebpage.com/cgi-bin/counter.cgi>
<b><font color="#0065CA">[nbsp]times.</font></b>
</p>
In counter.cgi the counter data is:
$count = sprintf("%06d", inccounter("/big/dom/xmywebpage/count/counter.dat"));
In the www I have made a directory named count and placed counter.dat and chmod all the files to 755.
HELP :waa:
<p align="center"><b><font color="#0065CA">This page has been accessed[nbsp]</font></b><img src=http://www.mywebpage.com/cgi-bin/counter.cgi>
<b><font color="#0065CA">[nbsp]times.</font></b>
</p>
In counter.cgi the counter data is:
$count = sprintf("%06d", inccounter("/big/dom/xmywebpage/count/counter.dat"));
In the www I have made a directory named count and placed counter.dat and chmod all the files to 755.
HELP :waa: