Necesito un contador de clicks (visitas) y votos, alguien me podría informar sobre como se hace, no conozco CGI pero me la puedo rebuscar...
Ejemplo quiero hacer algo simple como esto, que me muestre de cada link la cantidad de clicks y la cantidad de votos que se realizaron.
El sitio lo tengo alojado en Netfirms.com
Encontre esto pero no me funciona, aca estan las instrucciones:
Countlink.cgi
This script tracks the number of hits to any link on your site.
Instructions on Use:
--------------------
Place a link to this script on your website. The proper form is:
http://www.yoursite.com/yourdir/coun...gi?address.htm
The scripts adds a count to the link listed in the log file,
keeps the log in order from greatest to least hits, and then
autoforwards the user to http://address.htm. No input is
needed from the web surfer, the interface is seamless.
Files needed:
-------------
countlink.cgi : This is the script file : chmod 755
countlink.log : This is the counter log file : chmod 666
Installation:
-------------
Chmod the scripts as above.
Change the first line of countdown.cgi to the location of PERL on your system.
1 item needs to be changed in the script.
$Counter
This must be set to the absolute location (server directory)
of the counter file.
Example: '/usr/yourdir/docs/scripts/logs/countlink.log'