Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/10/2004, 13:27
Murallitz
 
Fecha de Ingreso: diciembre-2001
Ubicación: Peru
Mensajes: 376
Antigüedad: 23 años, 5 meses
Puntos: 0
Ayuda con un contador de visitas

Holas una pregutna, este es mi contador de visitas, y op rmas que refresco el fcount nunca tiene un valor. No funciona que esta mal?
Gracias
<html>
<body>
<p>
Esya pagina fue vista <%=fcount%> veces.
</p>
</body>
</html>

<%
Set FS=Server.CreateObject("Scripting.FileSystemObject ")
Set RS=FS.OpenTextFile(Server.MapPath("contador.txt"))
fcount=RS.ReadLine
fcount= fcount + 1
RS.Close


fcount=fcount+1

'This code is disabled due to the write access security on our server:
'Set RS=FS.OpenTextFile(Server.MapPath("counter.txt"), 2, False)
'RS.Write fcount
'RS.Close

Set RS=Nothing
Set FS=Nothing

%>