Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- date_default_timezone_set('Europe/Spain');
- $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("frasco@yahoo.es","Visita","$txt");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement