Code: Select all
Hello
How are you
Good bye
< /code>
Dann lautet der zweite Textbereichsinhalt: < /p>
Let me upload this.
Inform me if you receive it.
< /code>
Nach der Übermittlung beider Nachrichten zeigt die Ausgabetextdatei dies: < /p>
Hello
How are you
Good byeLet me upload this.
Inform me if you receive it.
Code:
Code: Select all
$msg = (isset($_POST['msg']) ? $_POST['msg'] : null);
< /code>
und hier schreibt sie in eine Datei < /p>
if (fwrite($handle, $msg) === FALSE) {
echo "Cannot write to file