![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/01/2010, 12:09
|
![Avatar de angel1993](http://static.forosdelweb.com/customavatars/avatar325038_2.gif) | | | Fecha de Ingreso: octubre-2009
Mensajes: 752
Antigüedad: 15 años, 4 meses Puntos: 22 | |
Respuesta: Enviar mensaje al entrar en una web ¿Como que faicil de interceptar? ¿es peligroso? ¿por que?
bueno te dejo para que se envie el email--
<?php
$fecha = getdate();
$hora = ($fecha["mday"]."/". $fecha["mon"]."/". $fecha["year"]." - ". $fecha["hours"].":". $fecha["minutes"]."");
$txt="La ip:".$_SERVER['REMOTE_ADDR']." ha entrado: ".$hora." Con el navegador:".$_SERVER['HTTP_USER_AGENT'];
mail("TU EMAIL","Visita","$txt");
?>
Última edición por angel1993; 14/01/2010 a las 12:24 |