greetings from italy

This commit is contained in:
2019-08-28 22:57:26 +02:00
commit 97cb57b430
3 changed files with 30 additions and 0 deletions

22
message.php Normal file
View File

@@ -0,0 +1,22 @@
<body style='font-size: 64px; font-family: sans-serif;' bgcolor='#aaa'>
<br/>
rk Cupa Converter
<br/>
<br/>
<form action="message.php" method="post">
<textarea name='text' style='font-size: 80px; width: 100%; height: 50%;'></textarea>
<br/>
<br/>
<input type="submit" style='font-size: 80px;' value='Anzeigen'/>
</form>
<?php
if (isset($_POST['text'])) {
$handle = fopen("message.txt", "w");
if (strlen($_POST['text']) == 0) {
fwrite($handle, " ");
} else {
fwrite($handle, $_POST['text']);
}
fclose($handle);
}
?>