WebServ/www/public/M3/06/saveMsg.php
2024-09-06 15:22:36 +02:00

8 lines
284 B
PHP

<?php
$name = "<hr><p>Från: " . $_POST['name'] . "</p>";
$msg = "<p>" . $_POST['message'] . "</p>";
file_put_contents("../../../M3-06-messages.dat",$name.$msg,FILE_APPEND);
header("location: index.php?page=klotter"); //Omdirigerar till klotterplanket
?>