
15.06.2010, 00:54
|
|
Reservists Of Antichat - Level 6
Регистрация: 23.08.2007
Сообщений: 1,237
Провел на форуме: 18127311
Репутация:
1676
|
|
PHP код:
<?php
if(isset($_POST['text'] && !is_array($_POST['text']))
{
$fh = fopen("file.txt", "a+");
fwrite($fh, $_POST['text']);
fclose($fh);
}
else
{
print <<<HERE
<form method="post">
<input type="text" name="text">
<input type="submit">
</form>
HERE;
}
?>
|
|
|