greetings from italy
This commit is contained in:
7
display.php
Normal file
7
display.php
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
header("Refresh: 1; URL=display.php");
|
||||||
|
echo("<body bgcolor='#000' style='font-size: 80px; color: white; font-family: sans-serif;'><table style='height:100%; width:100%;'><tr><td valign='middle' align='center' style='font-size: 80px; color: white; font-family: sans-serif;'>");
|
||||||
|
$handle = fopen("message.txt", "r");
|
||||||
|
$contents = fread($handle, filesize("message.txt"));
|
||||||
|
echo($contents);
|
||||||
|
?>
|
||||||
22
message.php
Normal file
22
message.php
Normal 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);
|
||||||
|
}
|
||||||
|
?>
|
||||||
1
message.txt
Executable file
1
message.txt
Executable file
@@ -0,0 +1 @@
|
|||||||
|
Ja schmeckt auch gut aber ich muss das nicht komplett aufessen
|
||||||
Reference in New Issue
Block a user