
06/07/2007, 15:17
|
| | Fecha de Ingreso: agosto-2006
Mensajes: 316
Antigüedad: 18 años, 9 meses Puntos: 0 | |
Re: Detectar si es google el que esta en mi pagina 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()
%>
Última edición por tomasulo; 06/07/2007 a las 15:50 |