WebServ/www/public/M3/04/saveMsg.php

8 lines
293 B
PHP
Raw Normal View History

2024-09-06 13:22:36 +00:00
<?php
$name = "<hr><p>Från: " . $_POST['name'] . "</p>";
$msg = "<p>" . $_POST['message'] . "</p>";
2024-09-13 12:56:16 +00:00
file_put_contents("../../../userData/M3-04-messages.dat",$name.$msg,FILE_APPEND);
2024-09-06 13:22:36 +00:00
header("location: index.php?page=klotter"); //Omdirigerar till klotterplanket
?>