Ir para conteúdo
Fórum Script Brasil
  • 0

Contador por IP em cgi


Guest Exner

Pergunta

Olá !!!

Estou tentando configurar um contador por IP para colocar no meu site, mas não estou conseguindo.

Segue abaixo as configurações que estou precisando para que este contador funcione :

O que quer dizer cada coisa ???

#########################

#

# INSTALLATION:

# 1. Edit the variables below

# 2. Upload the script to the $UNIX dir. Chmod it and this script to 755 or 777

# 3. Upload digits 0-9.jpg to the same dir.

# 4. Call either by SSI or stand alone:

# SSI: <!--#exec cgi ="/your_cgi-bin/Mcounter.cg"-->

# Stand Alone: http://www.yoursite.com/your_cgi-bin/Mcounter.cgi

#

# NOTE: if you want to change the graphic style of the digits, just make your

# own graphics for 0-9 and upload them to the $UNIX dir. Use JPEGs only.

#

#########################

# E D I T V A R I A B L E S

# The UNIX DIR of the counter program. No trailing slash!

$UNIX = "/virtualhosts/matrixvault.com/www/cgi/scripts2/Mcounter";

#The HTTP URL of the dir this script is in. No trailing slash!

$URL="http://www.matrixvault.com/cgi/scripts2/Mcounter";

# Reset IP Time- in seconds. 24hours = 86400

$reset_time = 86400;

# Show Daily count?

$daily = "0";

# Show Unique Count

$show_uniques="1";

# Show last visitor data (time and date of last hit)

$show_last = "0";

#Page Name?

$page="CGI_demo_text";

# Graphic counter or text? 1=graphic

$graphic="0";

# Keep a log file for each day's total?

# Filename is: $page+DAILY.log IE: $pageDAILY.log

$keep_totals = "1";

# Flat border Width, set to 0 for none.

$flat_border="0";

# 3d Table Border width, set to 0 for none

$border_3d="0";

# Cell color (the background color of the table.)

# Remember it should not be the same as the flat border color

$cell_color="\#000000";

#Flat border Color- set as the same as your cell color for none.

$border_color="\#CC6600";

#Font Color (take the cell color into consideration!)

$font_color = "\#FFCC00";

#Font Style

$font_face = "ARIAL";

# Font size in relative terms: IE: +2, +1, 0, -1, -2

# On most computers, 0=12 points, -1=10, -2=8.

# these sizes are generally universal, however some

# computers and custom window settings will show

# them differently.

$font_size="-2";

# Cell padding with each cell of the table

$cell_padding="4";

# Cell Spacing (The space between each cell)

$cell_spacing="0";

# E N D E D I T V A R I A B L E S

##########################

Desde já muito obrigado

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts Recomendados

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      651,8k
×
×
  • Criar Novo...