Cita:
Iniciado por tomasulo
s_libra
para eso mejor haz:
<%
MM_ip = Request.ServerVariables("REMOTE_ADDR")
MM_bw = Request.ServerVariables("HTTP_USER_AGENT")
MM_rf = Request.ServerVariables("HTTP_REFERER")
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_STRING
Command1.CommandText = "INSERT INTO ficha (id, fecha, ip, bw, rf) VALUES ('"+ Replace(MMColParam, "'", "''") + "', now() " + ",'" + MM_ip + "','"+ MM_bw + "' ,'"+ MM_rf + "') "
Command1.Execute()
%>
Excelente,es agradable el codigo ya que lo tienes todo en conjunto, ya que si quisieras denegar el acceso a robots, en el primer codigo que pusiste, le negamos la pagina, y con el segundo podemos incorporarlo y agregarlo, o simplemente nada mas agregar al visitante, ya sea Robot o usuario normal

buena pieza para agregar a la biblioteca personal