Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/12/2002, 16:39
Avatar de sordo77
sordo77
 
Fecha de Ingreso: noviembre-2002
Ubicación: Rosario
Mensajes: 70
Antigüedad: 22 años, 2 meses
Puntos: 0
Pregunta Contador de Clicks y Votos

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'

Última edición por sordo77; 10/12/2002 a las 17:24